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
|
||||
|
||||
var keyNames = map[ebiten.Key]string{
|
||||
ebiten.KeyComma: "','",
|
||||
ebiten.KeyDelete: "Delete",
|
||||
ebiten.KeyEnter: "Enter",
|
||||
ebiten.KeyEscape: "Escape",
|
||||
ebiten.KeyPeriod: "'.'",
|
||||
ebiten.KeySpace: "Space",
|
||||
ebiten.KeyTab: "Tab",
|
||||
ebiten.KeyBackspace: "Backspace",
|
||||
ebiten.KeyComma: "','",
|
||||
ebiten.KeyDelete: "Delete",
|
||||
ebiten.KeyEnter: "Enter",
|
||||
ebiten.KeyEscape: "Escape",
|
||||
ebiten.KeyPeriod: "'.'",
|
||||
ebiten.KeySpace: "Space",
|
||||
ebiten.KeyTab: "Tab",
|
||||
|
||||
// Arrows
|
||||
ebiten.KeyDown: "Down",
|
||||
|
Loading…
Reference in New Issue
Block a user