From d32cf0107f42b238ae9629bfd49f941deca4a9fc Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 13 Oct 2023 12:10:12 -0400 Subject: [PATCH] Update example --- examples/core/core_input_gamepad_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }