From ba5f613f44bb65236808ea6685d4829a1e2ca17b Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 7 Jan 2015 11:28:49 +0900 Subject: [PATCH] Bug fix: Add 'backspace' to example/keyboard --- example/keyboard/main.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/example/keyboard/main.go b/example/keyboard/main.go index 1f8ffc4f4..724ea568c 100644 --- a/example/keyboard/main.go +++ b/example/keyboard/main.go @@ -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",