summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2019-10-27 05:55:49 +0100
committerGitHub <noreply@github.com>2019-10-27 05:55:49 +0100
commit547080133225e9658f10c57f4a3588560779e811 (patch)
tree5ee9c556e80e4b0a254444e9d9cb3d9fe8976558 /src/core
parentMerge branch 'master' into master (diff)
parentfix Messages.cpp (diff)
downloadre3-547080133225e9658f10c57f4a3588560779e811.tar
re3-547080133225e9658f10c57f4a3588560779e811.tar.gz
re3-547080133225e9658f10c57f4a3588560779e811.tar.bz2
re3-547080133225e9658f10c57f4a3588560779e811.tar.lz
re3-547080133225e9658f10c57f4a3588560779e811.tar.xz
re3-547080133225e9658f10c57f4a3588560779e811.tar.zst
re3-547080133225e9658f10c57f4a3588560779e811.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Pad.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h
index 61825626..e1223629 100644
--- a/src/core/Pad.h
+++ b/src/core/Pad.h
@@ -248,13 +248,13 @@ public:
static int32 *EditCodesForControls(int32 *pRsKeys, int32 nSize);
// mouse
- bool GetLeftMouseJustDown() { return !!(NewMouseControllerState.LMB && !OldMouseControllerState.LMB); }
- bool GetRightMouseJustDown() { return !!(NewMouseControllerState.RMB && !OldMouseControllerState.RMB); }
- bool GetMiddleMouseJustDown() { return !!(NewMouseControllerState.MMB && !OldMouseControllerState.MMB); }
- bool GetMouseWheelUp() { return !!(NewMouseControllerState.WHEELUP && !OldMouseControllerState.WHEELUP); }
- bool GetMouseWheelDown() { return !!(NewMouseControllerState.WHEELDN && !OldMouseControllerState.WHEELDN);}
- bool GetMouseX1() { return !!(NewMouseControllerState.MXB1 && !OldMouseControllerState.MXB1); }
- bool GetMouseX2() { return !!(NewMouseControllerState.MXB2 && !OldMouseControllerState.MXB2); }
+ bool GetLeftMouseJustDown() { return !!(NewMouseControllerState.LMB && !OldMouseControllerState.LMB); }
+ bool GetRightMouseJustDown() { return !!(NewMouseControllerState.RMB && !OldMouseControllerState.RMB); }
+ bool GetMiddleMouseJustDown() { return !!(NewMouseControllerState.MMB && !OldMouseControllerState.MMB); }
+ bool GetMouseWheelUpJustDown() { return !!(NewMouseControllerState.WHEELUP && !OldMouseControllerState.WHEELUP); }
+ bool GetMouseWheelDownJustDown() { return !!(NewMouseControllerState.WHEELDN && !OldMouseControllerState.WHEELDN);}
+ bool GetMouseX1JustDown() { return !!(NewMouseControllerState.MXB1 && !OldMouseControllerState.MXB1); }
+ bool GetMouseX2JustDown() { return !!(NewMouseControllerState.MXB2 && !OldMouseControllerState.MXB2); }
bool GetLeftMouse() { return NewMouseControllerState.LMB; }