mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
Bug fix: Add 'backspace' to example/keyboard
This commit is contained in:
parent
2a3d41ba9a
commit
ba5f613f44
@ -30,13 +30,14 @@ const (
|
|||||||
// TODO: Add Key.String() by stringer
|
// TODO: Add Key.String() by stringer
|
||||||
|
|
||||||
var keyNames = map[ebiten.Key]string{
|
var keyNames = map[ebiten.Key]string{
|
||||||
ebiten.KeyComma: "','",
|
ebiten.KeyBackspace: "Backspace",
|
||||||
ebiten.KeyDelete: "Delete",
|
ebiten.KeyComma: "','",
|
||||||
ebiten.KeyEnter: "Enter",
|
ebiten.KeyDelete: "Delete",
|
||||||
ebiten.KeyEscape: "Escape",
|
ebiten.KeyEnter: "Enter",
|
||||||
ebiten.KeyPeriod: "'.'",
|
ebiten.KeyEscape: "Escape",
|
||||||
ebiten.KeySpace: "Space",
|
ebiten.KeyPeriod: "'.'",
|
||||||
ebiten.KeyTab: "Tab",
|
ebiten.KeySpace: "Space",
|
||||||
|
ebiten.KeyTab: "Tab",
|
||||||
|
|
||||||
// Arrows
|
// Arrows
|
||||||
ebiten.KeyDown: "Down",
|
ebiten.KeyDown: "Down",
|
||||||
|
Loading…
Reference in New Issue
Block a user