xinput improvements

*make LB/RB aliases for LS/RS
*support LSB/RSB (thumbstick buttons)
*move some duplicated code into a function
*add button name comments to keyconfig
This commit is contained in:
somewhatlurker
2019-07-11 06:12:29 +10:00
parent 73d374f4fb
commit 722e7cafc1
5 changed files with 93 additions and 476 deletions
+2
View File
@@ -90,6 +90,8 @@ constexpr uint64_t UI_ASPECT_RATIO = 0x000000014CC621D0;
#define XINPUT_RS 0x21
#define XINPUT_LT 0x22
#define XINPUT_RT 0x23
#define XINPUT_LSB 0x24
#define XINPUT_RSB 0x25
#define XINPUT_START 0x30
#define XINPUT_BACK 0x31
#define XINPUT_LUP 0x40