diff options
| author | Reece Mackie <20544390+Rover656@users.noreply.github.com> | 2019-04-28 16:05:45 +0100 |
|---|---|---|
| committer | Reece Mackie <20544390+Rover656@users.noreply.github.com> | 2019-04-28 16:05:45 +0100 |
| commit | d42965b0b02247f9b2581d3b7ba6e9ea47ddfcd6 (patch) | |
| tree | 2925299fbb06100fc6e7777b2b6b0743ce11a826 /src | |
| parent | 3244ec2a1d151dfd84e6145a9e9b4ce744cbc23e (diff) | |
| download | raylib-d42965b0b02247f9b2581d3b7ba6e9ea47ddfcd6.tar.gz raylib-d42965b0b02247f9b2581d3b7ba6e9ea47ddfcd6.zip | |
Fix tabs
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: { |
