mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 03:58:55 +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.
|
// 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.
|
// 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.
|
// This function always returns false on mobiles.
|
||||||
func IsGamepadButtonPressed(id int, button GamepadButton) bool {
|
func IsGamepadButtonPressed(id int, button GamepadButton) bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user