internal/driver: Bug fix: Compile error for browsers

This commit is contained in:
Hajime Hoshi 2021-07-21 17:20:09 +09:00
parent 93a156a718
commit d7bedd165a

View File

@ -74,6 +74,8 @@ const (
StandardGamepadButtonLeftLeft
StandardGamepadButtonLeftRight
StandardGamepadButtonCenterCenter
StandardGamepadButtonMax = StandardGamepadButtonCenterCenter
)
type StandardGamepadAxis int
@ -84,4 +86,6 @@ const (
StandardGamepadAxisLeftStickVertical
StandardGamepadAxisRightStickHorizontal
StandardGamepadAxisRightStickVertical
StandardGamepadAxisMax = StandardGamepadAxisRightStickVertical
)