ebiten/internal/gamepad
Hajime Hoshi 4a684c4195 treat Windows error values as uint32 instead of windows.Handle
The error value are defined as windows.Handle (64bit) in
golang.org/x/sys/windows, but an actual type should be HRESULT (32bit).
This causes an issue that a returning value from a Windows API was
recognized as a non-zero error value though the value was not an error,
when the value's lower 32-bits are all zero.

See also https://github.com/golang/go/issues/48736#issuecomment-1143993096

Updates #2113
2022-06-02 12:10:21 +09:00
..
api_ios.go internal/gamepad: port the gamepad part for c-backend 2022-02-05 19:11:57 +09:00
api_linux.go internal/gamepad: port the gamepad part for c-backend 2022-02-05 19:11:57 +09:00
api_windows.go treat Windows error values as uint32 instead of windows.Handle 2022-06-02 12:10:21 +09:00
button.go internal/gamepad: move driver.GamepadButton to gamepad.Button 2022-02-05 23:03:30 +09:00
extern_android.go mobile/ebitenmobileview: bug fix: compile error 2022-02-05 23:26:44 +09:00
gamepad_android.go internal/gamepad: port the gamepad part for c-backend 2022-02-05 19:11:57 +09:00
gamepad_cbackend.go internal/gamepad: port the gamepad part for c-backend 2022-02-05 19:11:57 +09:00
gamepad_darwin.go internal/gamepad: port the gamepad part for c-backend 2022-02-05 19:11:57 +09:00
gamepad_ios.go internal/gamepad: port the gamepad part for c-backend 2022-02-05 19:11:57 +09:00
gamepad_js.go internal/gamepad: add a warning message when getGamepads is not available 2022-05-21 23:25:56 +09:00
gamepad_linux.go internal/gamepad: fix uint16 underflow handling in gamepads. (#2030) 2022-03-26 15:41:59 +09:00
gamepad_null.go internal/gamepad: port the implementation for Android 2022-02-05 17:27:24 +09:00
gamepad_windows.go internal/gamepad: bug fix: out of range at hatState on Windows 2022-05-25 11:44:46 +09:00
gamepad.go internal/gamepad: skip gamepads with more than 32 buttons 2022-04-01 02:24:15 +09:00