Skip to content

Commit

Permalink
gamepad: fix building on SDL 2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon committed Mar 8, 2024
1 parent af583e0 commit 70b79db
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/gamepad.v
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ pub fn GamepadButton.from_sdl_controller_button(button sdl.GameControllerButton)
.dpad_right {
GamepadButton.dpad_right
}
.misc1 {
GamepadButton.misc_1
}
// TODO this does not work with SDL 2.0.8
//.misc1 {
// GamepadButton.misc_1
//}
.paddle1 {
GamepadButton.paddle_1
}
Expand Down

0 comments on commit 70b79db

Please sign in to comment.