aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorReece Mackie <20544390+Rover656@users.noreply.github.com>2019-04-28 16:32:05 +0100
committerReece Mackie <20544390+Rover656@users.noreply.github.com>2019-04-28 16:32:05 +0100
commitf36ba6a2f405ffc6a85cc4d7aeda286e73e5b517 (patch)
tree327bbdfb42aec361ff23551ee271d6f8b3cbf8be /examples
parent948a4427040d1156f4cb5fbe3c170a85592fbb94 (diff)
downloadraylib-f36ba6a2f405ffc6a85cc4d7aeda286e73e5b517.tar.gz
raylib-f36ba6a2f405ffc6a85cc4d7aeda286e73e5b517.zip
Damn, made a mistake
Diffstat (limited to 'examples')
-rw-r--r--examples/core/core_input_gamepad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/core/core_input_gamepad.c b/examples/core/core_input_gamepad.c
index 12d2dea5..e8a1c051 100644
--- a/examples/core/core_input_gamepad.c
+++ b/examples/core/core_input_gamepad.c
@@ -151,8 +151,8 @@ int main()
// Draw axis: left-right triggers
DrawRectangle(169, 48, 15, 70, GRAY);
DrawRectangle(611, 48, 15, 70, GRAY);
- DrawRectangle(169, 48, 15, (((1.0f - GetGamepadAxisMovement(GAMEPAD_PLAYER1, GLFW_GAMEPAD_AXIS_LEFT_TRIGGER))/2.0f)*70), RED);
- DrawRectangle(611, 48, 15, (((1.0f - GetGamepadAxisMovement(GAMEPAD_PLAYER1, GLFW_GAMEPAD_AXIS_RIGHT_TRIGGER))/2.0f)*70), RED);
+ DrawRectangle(169, 48, 15, (((1.0f - GetGamepadAxisMovement(GAMEPAD_PLAYER1, GAMEPAD_AXIS_LEFT_TRIGGER))/2.0f)*70), RED);
+ DrawRectangle(611, 48, 15, (((1.0f - GetGamepadAxisMovement(GAMEPAD_PLAYER1, GAMEPAD_AXIS_RIGHT_TRIGGER))/2.0f)*70), RED);
}
else
{