mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 22:13:12 -07:00
Fix Switch Dualshock 4 touchpad resolution (#355)
This commit is contained in:
parent
b70455d19b
commit
6e055d3071
1 changed files with 3 additions and 3 deletions
|
@ -8,9 +8,9 @@
|
|||
|
||||
#include "io.h"
|
||||
|
||||
// https://github.com/matlo/GIMX/blob/3af491c3b6a89c6a76c9831f1f022a1b73a00752/shared/gimxcontroller/include/ds4.h#L112
|
||||
#define DS4_TRACKPAD_MAX_X 1919
|
||||
#define DS4_TRACKPAD_MAX_Y 919
|
||||
// https://github.com/torvalds/linux/blob/41ba50b0572e90ed3d24fe4def54567e9050bc47/drivers/hid/hid-sony.c#L2742
|
||||
#define DS4_TRACKPAD_MAX_X 1920
|
||||
#define DS4_TRACKPAD_MAX_Y 942
|
||||
#define SWITCH_TOUCHSCREEN_MAX_X 1280
|
||||
#define SWITCH_TOUCHSCREEN_MAX_Y 720
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue