diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-04-12 20:22:28 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-04-12 20:22:28 +0300 |
commit | 8b2138f7bdfb508c5ff42681013dd886a5eb1955 (patch) | |
tree | e47bc6e05193098cd9895fa940c359dca335a513 /src/core/Pad.h | |
parent | bde3ef4f43afef08d56f7e47c75fc4f20f6ec279 (diff) |
Frontend fixes + triangle for back as default
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); } |