mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
mobile/ebitenmobileview: Bug fix: compile error
This commit is contained in:
parent
a208a026f6
commit
0ea5e65c92
@ -520,7 +520,7 @@ import (
|
||||
"github.com/hajimehoshi/ebiten/internal/driver"
|
||||
)
|
||||
|
||||
var androidKeyToDriverKeyName = map[int]driver.Key{
|
||||
var androidKeyToDriverKey = map[int]driver.Key{
|
||||
{{range $key, $name := .AndroidKeyToDriverKeyName}}{{$key}}: driver.Key{{$name}},
|
||||
{{end}}
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ import (
|
||||
"github.com/hajimehoshi/ebiten/internal/driver"
|
||||
)
|
||||
|
||||
var androidKeyToDriverKeyName = map[int]driver.Key{
|
||||
var androidKeyToDriverKey = map[int]driver.Key{
|
||||
7: driver.Key0,
|
||||
8: driver.Key1,
|
||||
9: driver.Key2,
|
||||
|
Loading…
Reference in New Issue
Block a user