diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-02 23:12:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 23:12:54 +0200 |
commit | 7fc33d85f7730c4dc42fbbbd842a95135cda7508 (patch) | |
tree | a6fa86e0be48f39285693c2795053bd997f58dbe /src/core/Pad.h | |
parent | Revert "Disable PED_SKIN for now" (diff) | |
parent | Add CURMODE macro (diff) | |
download | re3-7fc33d85f7730c4dc42fbbbd842a95135cda7508.tar re3-7fc33d85f7730c4dc42fbbbd842a95135cda7508.tar.gz re3-7fc33d85f7730c4dc42fbbbd842a95135cda7508.tar.bz2 re3-7fc33d85f7730c4dc42fbbbd842a95135cda7508.tar.lz re3-7fc33d85f7730c4dc42fbbbd842a95135cda7508.tar.xz re3-7fc33d85f7730c4dc42fbbbd842a95135cda7508.tar.zst re3-7fc33d85f7730c4dc42fbbbd842a95135cda7508.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() { } |