diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-23 03:26:52 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-23 03:26:52 +0200 |
commit | 08d78fb6fff5542125e4daaeb3873231fd4e9be9 (patch) | |
tree | 884b38c5ef2b51d9fd7104a0c58dbe75658715b6 /src/core/Pad.h | |
parent | satisfy mr.casepath (diff) | |
download | re3-08d78fb6fff5542125e4daaeb3873231fd4e9be9.tar re3-08d78fb6fff5542125e4daaeb3873231fd4e9be9.tar.gz re3-08d78fb6fff5542125e4daaeb3873231fd4e9be9.tar.bz2 re3-08d78fb6fff5542125e4daaeb3873231fd4e9be9.tar.lz re3-08d78fb6fff5542125e4daaeb3873231fd4e9be9.tar.xz re3-08d78fb6fff5542125e4daaeb3873231fd4e9be9.tar.zst re3-08d78fb6fff5542125e4daaeb3873231fd4e9be9.zip |
Diffstat (limited to 'src/core/Pad.h')
-rw-r--r-- | src/core/Pad.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h index 01f5bb9b..9f9f81b6 100644 --- a/src/core/Pad.h +++ b/src/core/Pad.h @@ -436,6 +436,7 @@ public: bool GetLeftShockJustDown() { return !!(NewState.LeftShock && !OldState.LeftShock); } bool GetRightShockJustDown() { return !!(NewState.RightShock && !OldState.RightShock); } bool GetStartJustDown() { return !!(NewState.Start && !OldState.Start); } + bool GetSelectJustDown() { return !!(NewState.Select && !OldState.Select); } bool GetLeftStickXJustDown() { return !!(NewState.LeftStickX && !OldState.LeftStickX); } bool GetLeftStickYJustDown() { return !!(NewState.LeftStickY && !OldState.LeftStickY); } @@ -461,6 +462,7 @@ public: bool GetRightShoulder1(void) { return !!NewState.RightShoulder1; } bool GetRightShoulder2(void) { return !!NewState.RightShoulder2; } bool GetStart() { return !!NewState.Start; } + bool GetSelect() { return !!NewState.Select; } int16 GetLeftStickX(void) { return NewState.LeftStickX; } int16 GetLeftStickY(void) { return NewState.LeftStickY; } int16 GetRightStickX(void) { return NewState.RightStickX; } @@ -478,4 +480,4 @@ public: }; VALIDATE_SIZE(CPad, 0xFC); -extern CPad Pads[MAX_PADS];
\ No newline at end of file +extern CPad Pads[MAX_PADS]; |