diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-17 14:02:19 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-17 14:02:19 +0100 |
commit | e5af1edcb9e7f444eb3b5256f75841d57bb50ac5 (patch) | |
tree | eefc16e2d08568f6008a2881ddf02f9b8ea4ec95 /src/core | |
parent | sync (diff) | |
download | re3-e5af1edcb9e7f444eb3b5256f75841d57bb50ac5.tar re3-e5af1edcb9e7f444eb3b5256f75841d57bb50ac5.tar.gz re3-e5af1edcb9e7f444eb3b5256f75841d57bb50ac5.tar.bz2 re3-e5af1edcb9e7f444eb3b5256f75841d57bb50ac5.tar.lz re3-e5af1edcb9e7f444eb3b5256f75841d57bb50ac5.tar.xz re3-e5af1edcb9e7f444eb3b5256f75841d57bb50ac5.tar.zst re3-e5af1edcb9e7f444eb3b5256f75841d57bb50ac5.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Pad.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/Pad.h b/src/core/Pad.h index 3a4f54b3..a3634134 100644 --- a/src/core/Pad.h +++ b/src/core/Pad.h @@ -277,6 +277,16 @@ public: uint32 InputHowLongAgo(void); void SetDrunkInputDelay(int32 delay) { DrunkDrivingBufferUsed = delay; } + // TODO(LCS): properly, this is just to get some estimation for script + int16 GetOddJobTrigger() { return GetRightShockJustDown(); } + int16 GuiLeft() { return GetAnaloguePadLeft() || GetDPadLeftJustDown(); } + int16 GuiRight() { return GetAnaloguePadRight() || GetDPadRightJustDown(); } + int16 GuiUp() { return GetAnaloguePadUp() || GetDPadUpJustDown(); } + int16 GuiDown() { return GetAnaloguePadDown() || GetDPadDownJustDown(); } + int16 GuiSelect() { return GetSelect(); } + int16 GuiBack() { return GetStart(); } + int16 GetSkipCutscene() { return GetCrossJustDown(); } + #ifdef XINPUT void AffectFromXinput(uint32 pad); #endif |