mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 02:42:02 +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"
|
"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}},
|
{{range $key, $name := .AndroidKeyToDriverKeyName}}{{$key}}: driver.Key{{$name}},
|
||||||
{{end}}
|
{{end}}
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ import (
|
|||||||
"github.com/hajimehoshi/ebiten/internal/driver"
|
"github.com/hajimehoshi/ebiten/internal/driver"
|
||||||
)
|
)
|
||||||
|
|
||||||
var androidKeyToDriverKeyName = map[int]driver.Key{
|
var androidKeyToDriverKey = map[int]driver.Key{
|
||||||
7: driver.Key0,
|
7: driver.Key0,
|
||||||
8: driver.Key1,
|
8: driver.Key1,
|
||||||
9: driver.Key2,
|
9: driver.Key2,
|
||||||
|
Loading…
Reference in New Issue
Block a user