Bug fix: Add 'backspace' to example/keyboard

This commit is contained in:
Hajime Hoshi 2015-01-07 11:28:49 +09:00
parent 2a3d41ba9a
commit ba5f613f44

View File

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