diff --git a/examples/core/core_input_gamepad_info.c b/examples/core/core_input_gamepad_info.c index 8a33bd66b..77a4a5da1 100644 --- a/examples/core/core_input_gamepad_info.c +++ b/examples/core/core_input_gamepad_info.c @@ -56,7 +56,7 @@ int main(void) } for (int button = 0; button < 32; button++) { - DrawText(TextFormat("\tButton %d = %d", button, IsGamepadButtonPressed(i, button)), 10, y, 20, BLACK); + DrawText(TextFormat("\tButton %d = %d", button, IsGamepadButtonDown(i, button)), 10, y, 20, BLACK); y += 30; } }