From 494074a9ecb9ce6a4f2b5cf6feb61ed74fa19303 Mon Sep 17 00:00:00 2001 From: aha-181 <11162197+aha-181@users.noreply.github.com> Date: Tue, 9 May 2023 15:27:14 +0200 Subject: [PATCH] Create ch-de.json Based on the official key crocs ch.json file but adds the following: support for right-shift umlauts support for special characters support for CTRL-C and CTRL-V as well as CTRL-ALT-DELETE and WINDOWS-L --- languages/ch-de.json | 259 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 259 insertions(+) create mode 100644 languages/ch-de.json diff --git a/languages/ch-de.json b/languages/ch-de.json new file mode 100644 index 0000000..d211d4a --- /dev/null +++ b/languages/ch-de.json @@ -0,0 +1,259 @@ +{ + "__comment":"All numbers here are in hex format and 0x is ignored.", + "__comment":" ", + "__comment":"This list is in ascending order of 3rd byte (HID Usage ID).", + "__comment":" See section 10 Keyboard/Keypad Page (0x07)", + "__comment":" of document USB HID Usage Tables Version 1.12.", + "__comment":" ", + "__comment":"Definition of these 3 bytes can be found", + "__comment":" in section B.1 Protocol 1 (Keyboard)", + "__comment":" of document Device Class Definition for HID Version 1.11", + "__comment":" - byte 1: Modifier keys", + "__comment":" - byte 2: Reserved", + "__comment":" - byte 3: Keycode 1", + "__comment":" ", + "__comment":"Both documents can be obtained from link here", + "__comment":" http://www.usb.org/developers/hidpage/", + "__comment":" ", + "__comment":"A = LeftShift + a, { = LeftShift + [", + "__comment":" ", + "a":"00,00,04", + "b":"00,00,05", + "c":"00,00,06", + "d":"00,00,07", + "e":"00,00,08", + "f":"00,00,09", + "g":"00,00,0a", + "h":"00,00,0b", + "i":"00,00,0c", + "j":"00,00,0d", + "k":"00,00,0e", + "l":"00,00,0f", + "m":"00,00,10", + "n":"00,00,11", + "o":"00,00,12", + "p":"00,00,13", + "q":"00,00,14", + "r":"00,00,15", + "s":"00,00,16", + "t":"00,00,17", + "u":"00,00,18", + "v":"00,00,19", + "w":"00,00,1a", + "x":"00,00,1b", + "z":"00,00,1c", + "y":"00,00,1d", + "1":"00,00,1e", + "2":"00,00,1f", + "3":"00,00,20", + "4":"00,00,21", + "5":"00,00,22", + "6":"00,00,23", + "7":"00,00,24", + "8":"00,00,25", + "9":"00,00,26", + "0":"00,00,27", + "ENTER":"00,00,28", + "ESC":"00,00,29", + "ESCAPE":"00,00,29", + "BACK":"00,00,2a", + "TAB":"00,00,2b", + " ":"00,00,2c", + "SPACE":"00,00,2c", + "'":"00,00,2d", + "^":"00,00,2e", + "ü":"00,00,2f", + "¨":"00,00,30", + "$":"00,00,32", + "ö":"00,00,33", + "ä":"00,00,34", + "§":"00,00,35", + ",":"00,00,36", + ".":"00,00,37", + "-":"00,00,38", + "CAPSLOCK":"00,00,39", + "F1":"00,00,3a", + "F2":"00,00,3b", + "F3":"00,00,3c", + "F4":"00,00,3d", + "F5":"00,00,3e", + "F6":"00,00,3f", + "F7":"00,00,40", + "F8":"00,00,41", + "F9":"00,00,42", + "F10":"00,00,43", + "F11":"00,00,44", + "F12":"00,00,45", + "PRINTSCREEN":"00,00,46", + "SCROLLLOCK":"00,00,47", + "BREAK":"00,00,48", + "PAUSE":"00,00,48", + "INSERT":"00,00,49", + "HOME":"00,00,4a", + "PAGEUP":"00,00,4b", + "DEL":"00,00,4c", + "DELETE":"00,00,4c", + "END":"00,00,4d", + "PAGEDOWN":"00,00,4e", + "RIGHT":"00,00,4f", + "RIGHTARROW":"00,00,4f", + "LEFT":"00,00,50", + "LEFTARROW":"00,00,50", + "DOWN":"00,00,51", + "DOWNARROW":"00,00,51", + "UP":"00,00,52", + "UPARROW":"00,00,52", + "NUM-LOCK":"00,00,53", + "/":"00,00,54", + "*":"00,00,55", + "-":"00,00,56", + "+":"00,00,57", + "ENTER":"00,00,58", + "1":"00,00,59", + "2":"00,00,5a", + "3":"00,00,5b", + "4":"00,00,5c", + "5":"00,00,5d", + "6":"00,00,5e", + "7":"00,00,5f", + "8":"00,00,60", + "9":"00,00,61", + "0":"00,00,62", + ".":"00,00,63", + "<":"00,00,64", + "APP":"00,00,65", + "MENU":"00,00,65", + "ALT-TAB":"00,00,71", + "CONTROL":"01,00,00", + "CTRL":"01,00,00", + "CTRL-C":"01,00,06", + "CTRL-V":"01,00,19", + "SHIFT-LEFT":"02,00,00", + "A":"02,00,04", + "B":"02,00,05", + "C":"02,00,06", + "D":"02,00,07", + "E":"02,00,08", + "F":"02,00,09", + "G":"02,00,0a", + "H":"02,00,0b", + "I":"02,00,0c", + "J":"02,00,0d", + "K":"02,00,0e", + "L":"02,00,0f", + "M":"02,00,10", + "N":"02,00,11", + "O":"02,00,12", + "P":"02,00,13", + "Q":"02,00,14", + "R":"02,00,15", + "S":"02,00,16", + "T":"02,00,17", + "U":"02,00,18", + "V":"02,00,19", + "W":"02,00,1a", + "X":"02,00,1b", + "Z":"02,00,1c", + "Y":"02,00,1d", + "+":"02,00,1e", + "\"":"02,00,1f", + "*":"02,00,20", + "ç":"02,00,21", + "%":"02,00,22", + "&":"02,00,23", + "/":"02,00,24", + "(":"02,00,25", + ")":"02,00,26", + "=":"02,00,27", + "?":"02,00,2d", + "`":"02,00,2e", + "è":"02,00,2f", + "!":"02,00,30", + "£":"02,00,32", + "é":"02,00,33", + "à":"02,00,34", + "°":"02,00,35", + ";":"02,00,36", + ":":"02,00,37", + "_":"02,00,38", + ">":"02,00,64", + "CTRL-SHIFT":"03,00,00", + "ALT":"04,00,00", + "CTRL-ALT":"05,00,00", + "CTRL-ALT-DELETE":"05,00,4c", + "ALT-SHIFT":"06,00,00", + "COMMAND":"08,00,00", + "GUI":"08,00,00", + "WINDOWS":"08,00,00", + "WINDOWS-L":"08,00,0f", + "CONTROL":"10,00,00", + "CTRL":"10,00,00", + "COMMAND-OPTION":"12,00,00", + "SHIFT-RIGHT":"20,00,00", + "A":"20,00,04", + "B":"20,00,05", + "C":"20,00,06", + "D":"20,00,07", + "E":"20,00,08", + "F":"20,00,09", + "G":"20,00,0a", + "H":"20,00,0b", + "I":"20,00,0c", + "J":"20,00,0d", + "K":"20,00,0e", + "L":"20,00,0f", + "M":"20,00,10", + "N":"20,00,11", + "O":"20,00,12", + "P":"20,00,13", + "Q":"20,00,14", + "R":"20,00,15", + "S":"20,00,16", + "T":"20,00,17", + "U":"20,00,18", + "V":"20,00,19", + "W":"20,00,1a", + "X":"20,00,1b", + "Z":"20,00,1c", + "Y":"20,00,1d", + "+":"20,00,1e", + "\"":"20,00,1f", + "*":"20,00,20", + "ç":"20,00,21", + "%":"20,00,22", + "&":"20,00,23", + "/":"20,00,24", + "(":"20,00,25", + ")":"20,00,26", + "=":"20,00,27", + "?":"20,00,2d", + "`":"20,00,2e", + "è":"20,00,2f", + "!":"20,00,30", + "£":"20,00,32", + "é":"20,00,33", + "à":"20,00,34", + "°":"20,00,35", + ";":"20,00,36", + ":":"20,00,37", + "_":"20,00,38", + ">":"20,00,64", + "ALT-GR":"40,00,00", + "€":"40,00,08", + "¦":"40,00,1e", + "@":"40,00,1f", + "#":"40,00,20", + "¬":"40,00,23", + "|":"40,00,24", + "¢":"40,00,25", + "´":"40,00,2d", + "~":"40,00,2e", + "[":"40,00,2f", + "]":"40,00,30", + "}":"40,00,32", + "{":"40,00,34", + "\\":"40,00,64", + "COMMAND-CTRL-SHIFT":"40,00,64", + "COMMAND-CTRL":"40,00,64", + "COMMAND-OPTION-SHIFT'":"40,00,64" +} \ No newline at end of file