summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-02 23:12:54 +0200
committerGitHub <noreply@github.com>2020-05-02 23:12:54 +0200
commit7fc33d85f7730c4dc42fbbbd842a95135cda7508 (patch)
treea6fa86e0be48f39285693c2795053bd997f58dbe /src/core/Pad.h
parentRevert "Disable PED_SKIN for now" (diff)
parentAdd CURMODE macro (diff)
downloadre3-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.h8
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() { }