summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-02-15 12:54:46 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-02-15 12:54:46 +0100
commita361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1 (patch)
tree147d551bbb7f0de6d6048566405956f18252bfff /src/core/Pad.h
parentscript 900-999 (diff)
parentMerge pull request #326 from erorcun/erorcun (diff)
downloadre3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar
re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.gz
re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.bz2
re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.lz
re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.xz
re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.tar.zst
re3-a361fc0ff5359cc4e1845cd6b62ee50b4d81a3d1.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 03b734cb..f4a07cae 100644
--- a/src/core/Pad.h
+++ b/src/core/Pad.h
@@ -389,6 +389,8 @@ public:
bool GetRightShoulder1JustDown() { return !!(NewState.RightShoulder1 && !OldState.RightShoulder1); }
bool GetRightShoulder2JustDown() { return !!(NewState.RightShoulder2 && !OldState.RightShoulder2); }
bool GetStartJustDown() { return !!(NewState.Start && !OldState.Start); }
+ bool GetLeftStickXJustDown() { return !!(NewState.LeftStickX && !OldState.LeftStickX); }
+ bool GetLeftStickYJustDown() { return !!(NewState.LeftStickY && !OldState.LeftStickY); }
bool GetTriangle() { return !!NewState.Triangle; }
bool GetCircle() { return !!NewState.Circle; }