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
@@ -45,5 +45,7 @@ namespace TLAC::Input
FLOAT keyIntervalTapTimes[0xFF];
static Xinput* instance;
void SetTapStates(BYTE keycode, float elapsed);
};
}