summaryrefslogtreecommitdiff
path: root/src/core/Pad.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-29 22:05:33 +0300
committereray orçunus <erayorcunus@gmail.com>2020-05-29 22:05:33 +0300
commit529cec565380b3c6689641ea427a1bf973014e02 (patch)
tree6caafab9dece0f1233f7ac9899d57b83ff421cce /src/core/Pad.h
parentab7a21e017b8df907c381bb63709c121e3fcb297 (diff)
R to freeroam, idle anims, weapon and cam enum fix
Diffstat (limited to 'src/core/Pad.h')
-rw-r--r--src/core/Pad.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h
index ad93fb49..46ed9b39 100644
--- a/src/core/Pad.h
+++ b/src/core/Pad.h
@@ -29,9 +29,7 @@ public:
float GetRightStickX(void) { return RightStickX/32767.0f; };
float GetRightStickY(void) { return RightStickY/32767.0f; };
-#ifdef DETECT_PAD_INPUT_SWITCH
- bool IsAnyButtonPressed();
-#endif
+ bool CheckForInput();
void Clear(void);
};
VALIDATE_SIZE(CControllerState, 0x2A);
@@ -260,6 +258,7 @@ public:
static void ResetCheats(void);
static char *EditString(char *pStr, int32 nSize);
static int32 *EditCodesForControls(int32 *pRsKeys, int32 nSize);
+ uint32 InputHowLongAgo(void);
#ifdef XINPUT
void AffectFromXinput(uint32 pad);