diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-02 18:00:47 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-02 18:39:36 +0200 |
commit | ba8aa3865488afceee36acaeceb54541feb0bd97 (patch) | |
tree | 160eda54707d23c3a2ed677313cf306b5991d3dc /src/core/Pad.h | |
parent | Disable PED_SKIN for now (diff) | |
download | re3-ba8aa3865488afceee36acaeceb54541feb0bd97.tar re3-ba8aa3865488afceee36acaeceb54541feb0bd97.tar.gz re3-ba8aa3865488afceee36acaeceb54541feb0bd97.tar.bz2 re3-ba8aa3865488afceee36acaeceb54541feb0bd97.tar.lz re3-ba8aa3865488afceee36acaeceb54541feb0bd97.tar.xz re3-ba8aa3865488afceee36acaeceb54541feb0bd97.tar.zst re3-ba8aa3865488afceee36acaeceb54541feb0bd97.zip |
Diffstat (limited to 'src/core/Pad.h')
-rw-r--r-- | src/core/Pad.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h index b24edf4a..ea771f81 100644 --- a/src/core/Pad.h +++ b/src/core/Pad.h @@ -29,6 +29,9 @@ public: float GetRightStickX(void) { return RightStickX/32767.0f; }; float GetRightStickY(void) { return RightStickY/32767.0f; }; +#ifdef DETECT_PAD_INPUT_SWITCH + bool IsAnyButtonPressed(); +#endif void Clear(void); }; VALIDATE_SIZE(CControllerState, 0x2A); @@ -158,7 +161,10 @@ public: int32 LastTimeTouched; int32 AverageWeapon; int32 AverageEntries; - + +#ifdef DETECT_PAD_INPUT_SWITCH + static bool IsAffectedByController; +#endif CPad() { } ~CPad() { } |