mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
ebiten: Remove old comments
This commit is contained in:
parent
c918a6ab20
commit
4c22314b3a
2
input.go
2
input.go
@ -51,8 +51,6 @@ func InputChars() []rune {
|
|||||||
//
|
//
|
||||||
// Keyboards don't work on iOS yet (#1090).
|
// Keyboards don't work on iOS yet (#1090).
|
||||||
func IsKeyPressed(key Key) bool {
|
func IsKeyPressed(key Key) bool {
|
||||||
// There are keys that are invalid values as ebiten.Key (e.g., driver.KeyLeftAlt).
|
|
||||||
// Skip such values.
|
|
||||||
if !key.isValid() {
|
if !key.isValid() {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user