aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReece Mackie <20544390+Rover656@users.noreply.github.com>2019-04-28 16:05:45 +0100
committerReece Mackie <20544390+Rover656@users.noreply.github.com>2019-04-28 16:05:45 +0100
commitd42965b0b02247f9b2581d3b7ba6e9ea47ddfcd6 (patch)
tree2925299fbb06100fc6e7777b2b6b0743ce11a826 /src
parent3244ec2a1d151dfd84e6145a9e9b4ce744cbc23e (diff)
downloadraylib-d42965b0b02247f9b2581d3b7ba6e9ea47ddfcd6.tar.gz
raylib-d42965b0b02247f9b2581d3b7ba6e9ea47ddfcd6.zip
Fix tabs
Diffstat (limited to 'src')
-rw-r--r--src/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.c b/src/core.c
index 5eed81c9..fb1f4f1a 100644
--- a/src/core.c
+++ b/src/core.c
@@ -3324,9 +3324,9 @@ static void PollInputEvents(void)
{
if ((msg->paramInt0 < MAX_GAMEPADS) && (msg->paramInt1 < MAX_GAMEPAD_AXIS)) gamepadAxisState[msg->paramInt0][msg->paramInt1] = msg->paramFloat0;
- // Register buttons for 2nd triggers
- currentGamepadState[msg->paramInt0][GAMEPAD_BUTTON_LEFT_TRIGGER_2] = (char)(gamepadAxisState[msg->paramInt0][GAMEPAD_AXIS_LEFT_TRIGGER] > 0.1);
- currentGamepadState[msg->paramInt0][GAMEPAD_BUTTON_RIGHT_TRIGGER_2] = (char)(gamepadAxisState[msg->paramInt0][GAMEPAD_AXIS_RIGHT_TRIGGER] > 0.1);
+ // Register buttons for 2nd triggers
+ currentGamepadState[msg->paramInt0][GAMEPAD_BUTTON_LEFT_TRIGGER_2] = (char)(gamepadAxisState[msg->paramInt0][GAMEPAD_AXIS_LEFT_TRIGGER] > 0.1);
+ currentGamepadState[msg->paramInt0][GAMEPAD_BUTTON_RIGHT_TRIGGER_2] = (char)(gamepadAxisState[msg->paramInt0][GAMEPAD_AXIS_RIGHT_TRIGGER] > 0.1);
} break;
case UWP_MSG_SET_DISPLAY_DIMS:
{