summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-09-28 16:03:00 +0200
committerSergeanur <s.anureev@yandex.ua>2019-09-28 16:03:00 +0200
commit6362ceeff305b47063622b2ce19152b699963a66 (patch)
treed16815e9acca0977116f9f87b201bb9873bd150d /src/core/Pad.h
parentMerge pull request #211 from erorcun/erorcun (diff)
downloadre3-6362ceeff305b47063622b2ce19152b699963a66.tar
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.gz
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.bz2
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.lz
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.xz
re3-6362ceeff305b47063622b2ce19152b699963a66.tar.zst
re3-6362ceeff305b47063622b2ce19152b699963a66.zip
Diffstat (limited to 'src/core/Pad.h')
-rw-r--r--src/core/Pad.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h
index 4f129e85..eca334ee 100644
--- a/src/core/Pad.h
+++ b/src/core/Pad.h
@@ -368,6 +368,7 @@ public:
bool GetLeftShoulder2JustDown() { return !!(NewState.LeftShoulder2 && !OldState.LeftShoulder2); }
bool GetRightShoulder1JustDown() { return !!(NewState.RightShoulder1 && !OldState.RightShoulder1); }
bool GetRightShoulder2JustDown() { return !!(NewState.RightShoulder2 && !OldState.RightShoulder2); }
+ bool GetStartJustDown() { return !!(NewState.Start && !OldState.Start); }
/*
int32 GetLeftShoulder1(void) { return NewState.LeftShoulder1; }