Update us.json

pull/295/head
Sebastian Kinne 2017-11-21 13:02:26 +11:00 committed by GitHub
parent dbae32c86d
commit 7097f442d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 172 additions and 168 deletions

View File

@ -1,169 +1,173 @@
{ {
"__comment":"All numbers here are in hex format and 0x is ignored.", "__comment": "All numbers here are in hex format and 0x is ignored.",
"__comment":" ", "__comment": " ",
"__comment":"This list is in ascending order of 3rd byte (HID Usage ID).", "__comment": "This list is in ascending order of 3rd byte (HID Usage ID).",
"__comment":" See section 10 Keyboard/Keypad Page (0x07)", "__comment": " See section 10 Keyboard/Keypad Page (0x07)",
"__comment":" of document USB HID Usage Tables Version 1.12.", "__comment": " of document USB HID Usage Tables Version 1.12.",
"__comment":" ", "__comment": " ",
"__comment":"Definition of these 3 bytes can be found", "__comment": "Definition of these 3 bytes can be found",
"__comment":" in section B.1 Protocol 1 (Keyboard)", "__comment": " in section B.1 Protocol 1 (Keyboard)",
"__comment":" of document Device Class Definition for HID Version 1.11", "__comment": " of document Device Class Definition for HID Version 1.11",
"__comment":" - byte 1: Modifier keys", "__comment": " - byte 1: Modifier keys",
"__comment":" - byte 2: Reserved", "__comment": " - byte 2: Reserved",
"__comment":" - byte 3: Keycode 1", "__comment": " - byte 3: Keycode 1",
"__comment":" ", "__comment": " ",
"__comment":"Both documents can be obtained from link here", "__comment": "Both documents can be obtained from link here",
"__comment":" http://www.usb.org/developers/hidpage/", "__comment": " http://www.usb.org/developers/hidpage/",
"__comment":" ", "__comment": " ",
"__comment":"A = LeftShift + a, { = LeftShift + [", "__comment": "A = LeftShift + a, { = LeftShift + [",
"__comment":" ", "__comment": " ",
"a":"00,00,04", "CTRL": "01,00,00",
"b":"00,00,05", "CONTROL": "01,00,00",
"c":"00,00,06", "SHIFT": "02,00,00",
"d":"00,00,07", "ALT": "04,00,00",
"e":"00,00,08", "GUI": "08,00,00",
"f":"00,00,09", "WINDOWS": "08,00,00",
"g":"00,00,0a", "CTRL-ALT": "05,00,00",
"h":"00,00,0b", "CTRL-SHIFT": "03,00,00",
"i":"00,00,0c", "ALT-SHIFT": "06,00,00",
"j":"00,00,0d", "__comment": "Below 5 key combinations are for Mac OSX",
"k":"00,00,0e", "__comment": "Example: (COMMAND-OPTION SHIFT t) to open terminal",
"l":"00,00,0f", "COMMAND": "08,00,00",
"m":"00,00,10", "COMMAND-CTRL": "09,00,00",
"n":"00,00,11", "COMMAND-CTRL-SHIFT": "0B,00,00",
"o":"00,00,12", "COMMAND-OPTION": "0C,00,00",
"p":"00,00,13", "COMMAND-OPTION-SHIFT": "0E,00,00",
"q":"00,00,14", "a": "00,00,04",
"r":"00,00,15", "A": "02,00,04",
"s":"00,00,16", "b": "00,00,05",
"t":"00,00,17", "B": "02,00,05",
"u":"00,00,18", "c": "00,00,06",
"v":"00,00,19", "C": "02,00,06",
"w":"00,00,1a", "d": "00,00,07",
"x":"00,00,1b", "D": "02,00,07",
"y":"00,00,1c", "e": "00,00,08",
"z":"00,00,1d", "E": "02,00,08",
"1":"00,00,1e", "f": "00,00,09",
"2":"00,00,1f", "F": "02,00,09",
"3":"00,00,20", "g": "00,00,0a",
"4":"00,00,21", "G": "02,00,0a",
"5":"00,00,22", "h": "00,00,0b",
"6":"00,00,23", "H": "02,00,0b",
"7":"00,00,24", "i": "00,00,0c",
"8":"00,00,25", "I": "02,00,0c",
"9":"00,00,26", "j": "00,00,0d",
"0":"00,00,27", "J": "02,00,0d",
"ENTER":"00,00,28", "k": "00,00,0e",
"ESC":"00,00,29", "K": "02,00,0e",
"ESCAPE":"00,00,29", "l": "00,00,0f",
"TAB":"00,00,2b", "L": "02,00,0f",
" ":"00,00,2c", "m": "00,00,10",
"SPACE":"00,00,2c", "M": "02,00,10",
"-":"00,00,2d", "n": "00,00,11",
"=":"00,00,2e", "N": "02,00,11",
"[":"00,00,2f", "o": "00,00,12",
"]":"00,00,30", "O": "02,00,12",
"\\":"00,00,31", "p": "00,00,13",
";":"00,00,33", "P": "02,00,13",
"'":"00,00,34", "q": "00,00,14",
"`":"00,00,35", "Q": "02,00,14",
",":"00,00,36", "r": "00,00,15",
".":"00,00,37", "R": "02,00,15",
"/":"00,00,38", "s": "00,00,16",
"CAPSLOCK":"00,00,39", "S": "02,00,16",
"F1":"00,00,3a", "t": "00,00,17",
"F2":"00,00,3b", "T": "02,00,17",
"F3":"00,00,3c", "u": "00,00,18",
"F4":"00,00,3d", "U": "02,00,18",
"F5":"00,00,3e", "v": "00,00,19",
"F6":"00,00,3f", "V": "02,00,19",
"F7":"00,00,40", "w": "00,00,1a",
"F8":"00,00,41", "W": "02,00,1a",
"F9":"00,00,42", "x": "00,00,1b",
"F10":"00,00,43", "X": "02,00,1b",
"F11":"00,00,44", "y": "00,00,1c",
"F12":"00,00,45", "Y": "02,00,1c",
"PRINTSCREEN":"00,00,46", "z": "00,00,1d",
"SCROLLLOCK":"00,00,47", "Z": "02,00,1d",
"BREAK":"00,00,48", "1": "00,00,1e",
"PAUSE":"00,00,48", "!": "02,00,1e",
"INSERT":"00,00,49", "2": "00,00,1f",
"HOME":"00,00,4a", "@": "02,00,1f",
"PAGEUP":"00,00,4b", "3": "00,00,20",
"DEL":"00,00,4c", "#": "02,00,20",
"DELETE":"00,00,4c", "4": "00,00,21",
"END":"00,00,4d", "$": "02,00,21",
"PAGEDOWN":"00,00,4e", "5": "00,00,22",
"RIGHT":"00,00,4f", "%": "02,00,22",
"RIGHTARROW":"00,00,4f", "6": "00,00,23",
"LEFT":"00,00,50", "^": "02,00,23",
"LEFTARROW":"00,00,50", "7": "00,00,24",
"DOWN":"00,00,51", "&": "02,00,24",
"DOWNARROW":"00,00,51", "8": "00,00,25",
"UP":"00,00,52", "*": "02,00,25",
"UPARROW":"00,00,52", "9": "00,00,26",
"APP":"00,00,65", "(": "02,00,26",
"MENU":"00,00,65", "0": "00,00,27",
"ALT-TAB":"00,00,71", ")": "02,00,27",
"CONTROL":"01,00,00", "ENTER": "00,00,28",
"CTRL":"01,00,00", "ESC": "00,00,29",
"SHIFT":"02,00,00", "ESCAPE": "00,00,29",
"A":"02,00,04", "BACKSPACE": "00,00,2a",
"B":"02,00,05", "TAB": "00,00,2b",
"C":"02,00,06", "ALT-TAB": "04,00,2b",
"D":"02,00,07", "SPACE": "00,00,2c",
"E":"02,00,08", " ": "00,00,2c",
"F":"02,00,09", "-": "00,00,2d",
"G":"02,00,0a", "_": "02,00,2d",
"H":"02,00,0b", "=": "00,00,2e",
"I":"02,00,0c", "+": "02,00,2e",
"J":"02,00,0d", "[": "00,00,2f",
"K":"02,00,0e", "{": "02,00,2f",
"L":"02,00,0f", "]": "00,00,30",
"M":"02,00,10", "}": "02,00,30",
"N":"02,00,11", "\\": "00,00,31",
"O":"02,00,12", "|": "02,00,31",
"P":"02,00,13", ";": "00,00,33",
"Q":"02,00,14", ":": "02,00,33",
"R":"02,00,15", "'": "00,00,34",
"S":"02,00,16", "\"": "02,00,34",
"T":"02,00,17", "`": "00,00,35",
"U":"02,00,18", "~": "02,00,35",
"V":"02,00,19", ",": "00,00,36",
"W":"02,00,1a", "<": "02,00,36",
"X":"02,00,1b", ".": "00,00,37",
"Y":"02,00,1c", ">": "02,00,37",
"Z":"02,00,1d", "/": "00,00,38",
"!":"02,00,1e", "?": "02,00,38",
"@":"02,00,1f", "CAPSLOCK": "00,00,39",
"#":"02,00,20", "F1": "00,00,3a",
"$":"02,00,21", "F2": "00,00,3b",
"%":"02,00,22", "F3": "00,00,3c",
"^":"02,00,23", "F4": "00,00,3d",
"&":"02,00,24", "F5": "00,00,3e",
"*":"02,00,25", "F6": "00,00,3f",
"(":"02,00,26", "F7": "00,00,40",
")":"02,00,27", "F8": "00,00,41",
"_":"02,00,2d", "F9": "00,00,42",
"+":"02,00,2e", "F10": "00,00,43",
"{":"02,00,2f", "F11": "00,00,44",
"}":"02,00,30", "F12": "00,00,45",
"|":"02,00,31", "PRINTSCREEN":"00,00,46",
":":"02,00,33", "SCROLLLOCK": "00,00,47",
"\"":"02,00,34", "PAUSE": "00,00,48",
"~":"02,00,35", "BREAK": "00,00,48",
"<":"02,00,36", "INSERT": "00,00,49",
">":"02,00,37", "HOME": "00,00,4a",
"?":"02,00,38", "PAGEUP": "00,00,4b",
"CTRL-SHIFT":"03,00,00", "DELETE": "00,00,4c",
"ALT":"04,00,00", "DEL": "00,00,4c",
"CTRL-ALT":"05,00,00", "END": "00,00,4d",
"ALT-SHIFT":"06,00,00", "PAGEDOWN": "00,00,4e",
"COMMAND":"08,00,00", "RIGHTARROW": "00,00,4f",
"GUI":"08,00,00", "RIGHT": "00,00,4f",
"WINDOWS":"08,00,00", "LEFTARROW": "00,00,50",
"COMMAND-OPTION":"12,00,00", "LEFT": "00,00,50",
"COMMAND-CTRL-SHIFT":"12,00,00", "DOWNARROW": "00,00,51",
"COMMAND-CTRL":"12,00,00", "DOWN": "00,00,51",
"COMMAND-OPTION-SHIFT'":"12,00,00" "UPARROW": "00,00,52",
} "UP": "00,00,52",
"NUMLOCK": "00,00,53",
"MENU": "00,00,65",
"APP": "00,00,65"
}