From b0b52c62976a99fac90ddc9f13cdc309913225fa Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 22 Dec 2021 18:47:40 +0900 Subject: [PATCH] internal/driver: typo --- internal/driver/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)