diff options
author | erorcun <erayorcunus@gmail.com> | 2020-10-04 21:18:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 21:18:33 +0200 |
commit | ea4007a13c844007b5b5ad06b6e01941cbd66e10 (patch) | |
tree | 32195602f9ba72f90ff2dbe4a2a1447f339012e1 /src/core/Pad.h | |
parent | small fix (diff) | |
parent | Merge branch 'master' into master (diff) | |
download | re3-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.h | 2 |
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; } |