summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-10-04 21:18:33 +0200
committerGitHub <noreply@github.com>2020-10-04 21:18:33 +0200
commitea4007a13c844007b5b5ad06b6e01941cbd66e10 (patch)
tree32195602f9ba72f90ff2dbe4a2a1447f339012e1 /src/core/Pad.h
parentsmall fix (diff)
parentMerge branch 'master' into master (diff)
downloadre3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.gz
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.bz2
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.lz
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.xz
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.tar.zst
re3-ea4007a13c844007b5b5ad06b6e01941cbd66e10.zip
Diffstat (limited to '')
-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; }