mobile/ebitenmobileview: Bug fix: compile error

This commit is contained in:
Hajime Hoshi 2020-02-23 00:36:40 +09:00
parent a208a026f6
commit 0ea5e65c92
2 changed files with 2 additions and 2 deletions

View File

@ -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}}
}

View File

@ -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,