summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-09-30 19:02:47 +0200
committereray orçunus <erayorcunus@gmail.com>2020-09-30 19:03:01 +0200
commit595421da3908a2d3e7a1b063605bb3f2a3adb65b (patch)
tree1fe2f8eb9da450d5f8efdb27f1b9cbd8d541e01c /src/core/Pad.h
parentFix more (diff)
downloadre3-595421da3908a2d3e7a1b063605bb3f2a3adb65b.tar
re3-595421da3908a2d3e7a1b063605bb3f2a3adb65b.tar.gz
re3-595421da3908a2d3e7a1b063605bb3f2a3adb65b.tar.bz2
re3-595421da3908a2d3e7a1b063605bb3f2a3adb65b.tar.lz
re3-595421da3908a2d3e7a1b063605bb3f2a3adb65b.tar.xz
re3-595421da3908a2d3e7a1b063605bb3f2a3adb65b.tar.zst
re3-595421da3908a2d3e7a1b063605bb3f2a3adb65b.zip
Diffstat (limited to 'src/core/Pad.h')
-rw-r--r--src/core/Pad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h
index 8c3bc752..8c5d7ba3 100644
--- a/src/core/Pad.h
+++ b/src/core/Pad.h
@@ -277,6 +277,8 @@ public:
bool GetMiddleMouseJustUp() { return !!(!NewMouseControllerState.MMB && OldMouseControllerState.MMB); }
bool GetMouseWheelUpJustUp() { return !!(!NewMouseControllerState.WHEELUP && OldMouseControllerState.WHEELUP); }
bool GetMouseWheelDownJustUp() { return !!(!NewMouseControllerState.WHEELDN && OldMouseControllerState.WHEELDN); }
+ bool GetMouseX1JustUp() { return !!(!NewMouseControllerState.MXB1 && OldMouseControllerState.MXB1); }
+ bool GetMouseX2JustUp() { return !!(!NewMouseControllerState.MXB2 && OldMouseControllerState.MXB2); }
bool GetLeftMouse() { return NewMouseControllerState.LMB; }
bool GetRightMouse() { return NewMouseControllerState.RMB; }