diff --git a/internal/driver/input.go b/internal/driver/input.go index f156b7417..6be6fe5e5 100644 --- a/internal/driver/input.go +++ b/internal/driver/input.go @@ -37,7 +37,7 @@ type Input interface { IsMouseButtonPressed(button MouseButton) bool IsStandardGamepadButtonPressed(id GamepadID, button StandardGamepadButton) bool IsStandardGamepadLayoutAvailable(id GamepadID) bool - StandardGamepadAxisValue(id GamepadID, button StandardGamepadAxis) float64 + StandardGamepadAxisValue(id GamepadID, axis StandardGamepadAxis) float64 StandardGamepadButtonValue(id GamepadID, button StandardGamepadButton) float64 TouchPosition(id TouchID) (x, y int) VibrateGamepad(id GamepadID, duration time.Duration, strongMagnitude float64, weakMagnitude float64)