sonyxperiadev / device-sony-loire

17 stars 40 forks source link

[LOIRE] vendor: IDC: clearpad: Fix touch pressure issues and cleanup #217

Closed kholk closed 6 years ago

kholk commented 6 years ago

Changes introduced in Android 8.1.0 produced a miscalculation of the touch pressure axis. Change the touch pressure scale to 0.01 to prevent overflowing and get back the touch pressure working properly, solving issues with multi-touch gestures in various games.

Also, while at it, make sure that the device is declared as internal, orientation aware and that the touch pressure parameter is read from the "pressure axis" sent by the kernel driver.