Check if a gamepad button has NOT been pressed once
raylib.InitWindow 800, 600, "Gamepad Button Released Demo" while not raylib.WindowShouldClose raylib.BeginDrawing raylib.ClearBackground color.white if raylib.IsGamepadButtonReleased(0, raylib.GAMEPAD_BUTTON_LEFT_FACE_DOWN) then raylib.DrawText "A button just released!", 10, 10, 20, color.orange end if raylib.EndDrawing end while raylib.CloseWindow
There was an error while loading. Please reload this page.