aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 95dc4c4e..5bd954c8 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -45,6 +45,7 @@ var LibrarySDL = {
DOMEventToSDLEvent: {},
keyCodes: { // DOM code ==> SDL code. See https://developer.mozilla.org/en/Document_Object_Model_%28DOM%29/KeyboardEvent and SDL_keycode.h
+ 46: 127, // SDLK_DEL == '\177'
38: 1106, // up arrow
40: 1105, // down arrow
37: 1104, // left arrow