Last active
August 29, 2015 14:28
-
-
Save ronsims2/6aaac9ec45324dfd9099 to your computer and use it in GitHub Desktop.
A map of keycodes to letters/keys.
This file contains hidden or 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
var charMap = {}; | |
charMap.backspace = 8; | |
charMap.delete = 46; | |
charMap.space = 32; | |
charMap.a = 65; | |
charMap.b = 66; | |
charMap.c = 67; | |
charMap.d = 68; | |
charMap.e = 69; | |
charMap.f = 70; | |
charMap.g = 71; | |
charMap.h = 72; | |
charMap.i = 73; | |
charMap.j = 74; | |
charMap.k = 75; | |
charMap.l = 76; | |
charMap.m = 77; | |
charMap.n = 78; | |
charMap.o = 79; | |
charMap.p = 80; | |
charMap.q = 81; | |
charMap.r = 82; | |
charMap.s = 83; | |
charMap.t = 84; | |
charMap.u = 85; | |
charMap.v = 86; | |
charMap.w = 87; | |
charMap.x = 88; | |
charMap.y = 89; | |
charMap.z = 90; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment