mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 10:44:08 +00:00
XInput
This commit is contained in:
parent
29f69f6216
commit
43b092033c
3 changed files with 60 additions and 1 deletions
|
@ -247,6 +247,10 @@ public:
|
|||
static char *EditString(char *pStr, int32 nSize);
|
||||
static int32 *EditCodesForControls(int32 *pRsKeys, int32 nSize);
|
||||
|
||||
#ifdef XINPUT
|
||||
void AffectFromXinput(uint32 pad);
|
||||
#endif
|
||||
|
||||
// mouse
|
||||
bool GetLeftMouseJustDown() { return !!(NewMouseControllerState.LMB && !OldMouseControllerState.LMB); }
|
||||
bool GetRightMouseJustDown() { return !!(NewMouseControllerState.RMB && !OldMouseControllerState.RMB); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue