diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-04-12 19:22:28 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-04-12 19:22:28 +0200 |
commit | 8b2138f7bdfb508c5ff42681013dd886a5eb1955 (patch) | |
tree | e47bc6e05193098cd9895fa940c359dca335a513 /src/core/Pad.h | |
parent | Revert "fix" (diff) | |
download | re3-8b2138f7bdfb508c5ff42681013dd886a5eb1955.tar re3-8b2138f7bdfb508c5ff42681013dd886a5eb1955.tar.gz re3-8b2138f7bdfb508c5ff42681013dd886a5eb1955.tar.bz2 re3-8b2138f7bdfb508c5ff42681013dd886a5eb1955.tar.lz re3-8b2138f7bdfb508c5ff42681013dd886a5eb1955.tar.xz re3-8b2138f7bdfb508c5ff42681013dd886a5eb1955.tar.zst re3-8b2138f7bdfb508c5ff42681013dd886a5eb1955.zip |
Diffstat (limited to 'src/core/Pad.h')
-rw-r--r-- | src/core/Pad.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h index 78bfac1d..cb705c6b 100644 --- a/src/core/Pad.h +++ b/src/core/Pad.h @@ -418,6 +418,7 @@ public: bool GetLeftStickXJustDown() { return !!(NewState.LeftStickX && !OldState.LeftStickX); } bool GetLeftStickYJustDown() { return !!(NewState.LeftStickY && !OldState.LeftStickY); } + bool GetTriangleJustUp() { return !!(!NewState.Triangle && OldState.Triangle); } bool GetCrossJustUp() { return !!(!NewState.Cross && OldState.Cross); } bool GetSquareJustUp() { return !!(!NewState.Square && OldState.Square); } bool GetDPadUpJustUp() { return !!(!NewState.DPadUp && OldState.DPadUp); } |