aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-30 20:00:20 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-30 20:00:20 -0700
commit4a226fce3e70f59958149a9e2fc31ac1a409d027 (patch)
tree07e165474cccb2e86a0d710f593d55ffdd6b0069
parentffde799134ebed5a4e2309d3d3fc791d36fd79f6 (diff)
parente6b20d6caaf60b3ae8c7a053154777bdbb249036 (diff)
Merge pull request #1751 from waywardmonkeys/sdl-scancode-fix
Fix handling of backspace SDL scancode.
-rw-r--r--src/library_sdl.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js
index e652dfc8..4620035e 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -167,6 +167,7 @@ var LibrarySDL = {
57: 38, // 9
48: 39, // 0
13: 40, // return
+ 8: 42, // backspace
9: 43, // tab
27: 41, // escape
32: 44, // space