Skip to content

Commit

Permalink
Add support for KEYCODE_EXTENDED_BACKSLASH_LEFTANGLE
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBraithwaite committed Aug 5, 2015
1 parent f023996 commit 4f40c5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tslib/webgl/inputdevice.ts
Expand Up @@ -1759,6 +1759,7 @@ class WebGLInputDevice implements InputDevice
keyMap[35] = 635; // END
keyMap[33] = 636; // PAGE_UP
keyMap[34] = 637; // PAGE_DOWN
keyMap[220] = 220; // EXTENDED_BACKSLASH_LEFTANGLE

id.keyMap = keyMap;

Expand Down Expand Up @@ -1997,6 +1998,7 @@ WebGLInputDevice.prototype.keyCodes = {
RIGHT : 201,
UP : 202,
DOWN : 203,
EXTENDED_BACKSLASH_LEFTANGLE : 220, // Lower left \ or < key on RT 102 keyboard
LEFT_SHIFT : 300,
RIGHT_SHIFT : 301,
LEFT_CONTROL : 302,
Expand Down

0 comments on commit 4f40c5f

Please sign in to comment.