summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-30 06:44:51 +0200
committerSergeanur <s.anureev@yandex.ua>2020-06-30 06:44:51 +0200
commit6f81e84bd41056cbf38aeaf9b20bd4493a6ffc5f (patch)
treeb783a0a098bfc2e10520df5bc59dabc6c95cd9c4 /src/core/Pad.cpp
parentFix glfw.cpp (diff)
downloadre3-6f81e84bd41056cbf38aeaf9b20bd4493a6ffc5f.tar
re3-6f81e84bd41056cbf38aeaf9b20bd4493a6ffc5f.tar.gz
re3-6f81e84bd41056cbf38aeaf9b20bd4493a6ffc5f.tar.bz2
re3-6f81e84bd41056cbf38aeaf9b20bd4493a6ffc5f.tar.lz
re3-6f81e84bd41056cbf38aeaf9b20bd4493a6ffc5f.tar.xz
re3-6f81e84bd41056cbf38aeaf9b20bd4493a6ffc5f.tar.zst
re3-6f81e84bd41056cbf38aeaf9b20bd4493a6ffc5f.zip
Diffstat (limited to '')
-rw-r--r--src/core/Pad.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index 99b9c8a8..97cc1786 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -518,9 +518,12 @@ void FlyingFishCheat(void)
bool
CControllerState::CheckForInput(void)
{
- return !!LeftStickX || !!LeftStickY || !!RightStickX || !!RightStickY || !!LeftShoulder1 || !!LeftShoulder2 || !!RightShoulder1 || !!RightShoulder2 ||
- !!DPadUp || !!DPadDown || !!DPadLeft || !!DPadRight || !!Start || !!Select || !!Square || !!Triangle || !!Cross || !!Circle || !!LeftShock ||
- !!RightShock;
+ return !!RightStickX || !!RightStickY || !!LeftStickX || !!LeftStickY
+ || !!DPadUp || !!DPadDown || !!DPadLeft || !!DPadRight
+ || !!Triangle || !!Cross || !!Circle || !!Square
+ || !!Start || !!Select
+ || !!LeftShoulder1 || !!LeftShoulder2 || !!RightShoulder1 || !!RightShoulder2
+ || !!LeftShock || !!RightShock;
}
void