Created
April 11, 2015 17:45
-
-
Save RB-Lab/a82ffd8039a49c7e7638 to your computer and use it in GitHub Desktop.
Common keycodes as CJS module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
ENTER: 13, | |
ESC: 27, | |
BACKSPACE: 8, | |
DELETE: 45, | |
TAB: 9, | |
LEFT_ARROW: 37, | |
UP_ARROW: 38, | |
RIGTH_ARROW: 39, | |
DOWN_ARROW: 40, | |
SPACE: 32 | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment