Magisk-Modules-Repo / OneController

Magisk module which adds proper key mapping for various game controllers.
208 stars 77 forks source link

[Wrong mapping] Dualsense #32

Open Haisom opened 1 year ago

Haisom commented 1 year ago

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 commented 11 months ago

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 commented 11 months ago

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

Haisom commented 11 months ago

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 commented 10 months ago

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 commented 10 months ago

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

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 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

Haisom commented 10 months ago

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.