Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wrong mapping] Dualsense #32

Open
Haisom opened this issue Mar 1, 2023 · 6 comments
Open

[Wrong mapping] Dualsense #32

Haisom opened this issue Mar 1, 2023 · 6 comments

Comments

@Haisom
Copy link

Haisom commented Mar 1, 2023

Dualsense works fine on some apps, like Xbox game pass and others. But there are a few that the mapping is still incorrect, like Kiwi Browser (Xbox game pass on browser).

Please let me know if I can help with the investigation so we can work on a fix. Thank you!

@NguyenThai1508
Copy link

NguyenThai1508 commented Aug 1, 2023

i also have the problem where the wrong mapping is worse when using OneController than not using it, wonder if there's any possible fix.

@Electric1447
Copy link
Collaborator

I don't have a dual sense controller. If you can use this app to fix the keylayout file I will add it

@Haisom
Copy link
Author

Haisom commented Aug 9, 2023

I don't have a dual sense controller. If you can use this app to fix the keylayout file I will add it

will do, thank you

@Haisom
Copy link
Author

Haisom commented Aug 30, 2023

I tried using that app but all buttons seem to be properly setup. Don't know what could be causing the issue... Would it be possible to add support for mouse on touchscreen as well as left, right and upper click, and gyroscope too?

@Haisom
Copy link
Author

Haisom commented Aug 30, 2023

This is everything the app managed to identify, probably with your drivers. I'll try and get a android device that officially supports it to see if it can show the other inputs.

Device name: Wireless Controller

Device id : Vendor_054c_Product_0ce6

key <action_button>

key 305 BUTTON_A
key 306 BUTTON_B
key 304 BUTTON_X
key 307 BUTTON_Y
key 308 BUTTON_L1
key 309 BUTTON_R1
key 310 BUTTON_L2
key 311 BUTTON_R2
key 314 BUTTON_THUMBL
key 315 BUTTON_THUMBR
key 313 BUTTON_START
key 312 BUTTON_SELECT
key 316 BUTTON_MODE
key 317 BUTTON_1

axis <axis_name>

axis 0x00 X
axis 0x01 Y
axis 0x0b Z
axis 0x0f HAT_X
axis 0x10 HAT_Y
axis 0x0e RZ
axis 0x11 LTRIGGER
axis 0x12 RTRIGGER
axis 0x17 BRAKE
axis 0x16 GAS

keyboard

key <action_button>

@Haisom
Copy link
Author

Haisom commented Aug 30, 2023

Ran tests on a MIUI 14.0.2 which officially supports it and it's pretty much the same (No root, no magisk nor modules).

Probably it's a limitation from the test app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants