carvalhopatrick
Asteroid
Options
Galaxy S Phones

After updating my phone (S20 FE / SM-G780G) to OneUI 4 / Android 12, I couldn't use my Playstation DualSense controller properly with the phone anymore.

Some of the keybindings for it are completely wrong. For instance, when I press "triangle" I get the action mapped to "L1" in game. "X" gives me the action for "circle", etc. Worst of all, the right analog stick axis is mapped to L2 and R2 triggers, while the L2 and R2 are mapped to right analog axis.

After investigating the issue, I've found that the keylayout file for the controller is wrong. The file is located at /system/usr/keylayout/Vendor_054c_Product_0ce6.kl

To conclude that it's wrong, I've compared the keycodes the controller generates when it's plugged in to my PC to those mapped to the file. The mismatched mappings are consistent to the faults I'm experiencing.

I hope this will get fixed in future patches. As far as I have searched, this is an issue affecting many Samsung phones on Android 12.

 

 

Who Me Too'd this topic