diff options
author | aap <aap@papnet.eu> | 2020-03-27 18:41:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 18:41:22 +0100 |
commit | 29f69f6216fa629786415e8062ceab3d671ac912 (patch) | |
tree | a59a5d54c5a33cdc1c5bd91535331ec2b5955472 /src/core/Pad.h | |
parent | Merge pull request #356 from blingu/master (diff) | |
parent | implemented some unused PS2 cams (diff) | |
download | re3-29f69f6216fa629786415e8062ceab3d671ac912.tar re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.gz re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.bz2 re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.lz re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.xz re3-29f69f6216fa629786415e8062ceab3d671ac912.tar.zst re3-29f69f6216fa629786415e8062ceab3d671ac912.zip |
Diffstat (limited to 'src/core/Pad.h')
-rw-r--r-- | src/core/Pad.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h index 09691128..fec21df3 100644 --- a/src/core/Pad.h +++ b/src/core/Pad.h @@ -399,6 +399,8 @@ public: bool GetLeftShoulder2JustDown() { return !!(NewState.LeftShoulder2 && !OldState.LeftShoulder2); } bool GetRightShoulder1JustDown() { return !!(NewState.RightShoulder1 && !OldState.RightShoulder1); } bool GetRightShoulder2JustDown() { return !!(NewState.RightShoulder2 && !OldState.RightShoulder2); } + bool GetLeftShockJustDown() { return !!(NewState.LeftShock && !OldState.LeftShock); } + bool GetRightShockJustDown() { return !!(NewState.RightShock && !OldState.RightShock); } bool GetStartJustDown() { return !!(NewState.Start && !OldState.Start); } bool GetLeftStickXJustDown() { return !!(NewState.LeftStickX && !OldState.LeftStickX); } bool GetLeftStickYJustDown() { return !!(NewState.LeftStickY && !OldState.LeftStickY); } @@ -422,6 +424,10 @@ public: bool GetLeftShoulder2(void) { return !!NewState.LeftShoulder2; } bool GetRightShoulder1(void) { return !!NewState.RightShoulder1; } bool GetRightShoulder2(void) { return !!NewState.RightShoulder2; } + int16 GetLeftStickX(void) { return NewState.LeftStickX; } + int16 GetLeftStickY(void) { return NewState.LeftStickY; } + int16 GetRightStickX(void) { return NewState.RightStickX; } + int16 GetRightStickY(void) { return NewState.RightStickY; } bool ArePlayerControlsDisabled(void) { return DisablePlayerControls != PLAYERCONTROL_ENABLED; } }; |