summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-27 19:54:35 +0100
committerSergeanur <s.anureev@yandex.ua>2020-03-27 20:20:57 +0100
commit43b092033cb7be208640b328bc42cdab7c5102ef (patch)
treeba1620306f6baa49fcd3ce0805de1576c03b5ee3 /src/core/Pad.h
parentMerge pull request #357 from aap/master (diff)
downloadre3-43b092033cb7be208640b328bc42cdab7c5102ef.tar
re3-43b092033cb7be208640b328bc42cdab7c5102ef.tar.gz
re3-43b092033cb7be208640b328bc42cdab7c5102ef.tar.bz2
re3-43b092033cb7be208640b328bc42cdab7c5102ef.tar.lz
re3-43b092033cb7be208640b328bc42cdab7c5102ef.tar.xz
re3-43b092033cb7be208640b328bc42cdab7c5102ef.tar.zst
re3-43b092033cb7be208640b328bc42cdab7c5102ef.zip
Diffstat (limited to 'src/core/Pad.h')
-rw-r--r--src/core/Pad.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h
index fec21df3..6cabdf54 100644
--- a/src/core/Pad.h
+++ b/src/core/Pad.h
@@ -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); }