mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ui: Fix comments
This commit is contained in:
parent
52dea245dc
commit
e4ee3100db
3
input.go
3
input.go
@ -102,9 +102,8 @@ func GamepadButtonNum(id int) int {
|
||||
//
|
||||
// This function is concurrent-safe.
|
||||
//
|
||||
// The button states vary depending on environments.
|
||||
// The relationships between physical buttons and buttion IDs depend on environments.
|
||||
// There can be differences even between Chrome and Firefox.
|
||||
// Don't assume that returned values are always same when same buttons are pressed.
|
||||
//
|
||||
// This function always returns false on mobiles.
|
||||
func IsGamepadButtonPressed(id int, button GamepadButton) bool {
|
||||
|
Loading…
Reference in New Issue
Block a user