aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorNick Coutsos <[email protected]>2021-08-24 21:48:17 -0400
committerNick Coutsos <[email protected]>2021-08-26 22:16:23 -0400
commitf5099605160aea344863c2bb13ee6ff994d789fd (patch)
treed63ed3d38a605a6c783e5b999986de712b03c1b6 /application
parentfcde285e1a9283abd1b1b4a52fc484eeceea873b (diff)
downloadkeymap-editor-f5099605160aea344863c2bb13ee6ff994d789fd.tar.gz
keymap-editor-f5099605160aea344863c2bb13ee6ff994d789fd.zip
Move keycode/behaviour data to backend
Diffstat (limited to 'application')
-rw-r--r--application/api.js17
-rw-r--r--application/data/keycodes.json264
-rw-r--r--application/data/zmk-behaviours.json70
-rw-r--r--application/data/zmk-keycodes.json5551
-rw-r--r--application/keycodes.js32
-rw-r--r--application/keymap.js10
6 files changed, 30 insertions, 5914 deletions
diff --git a/application/api.js b/application/api.js
new file mode 100644
index 0000000..3474875
--- /dev/null
+++ b/application/api.js
@@ -0,0 +1,17 @@
+import * as config from './config'
+
+export function loadBehaviours() {
+ return fetch(`/behaviors?firmware=${config.library}`).then(response => response.json())
+}
+
+export function loadKeycodes() {
+ return fetch(`/keycodes?firmware=${config.library}`).then(response => response.json())
+}
+
+export function loadKeymap() {
+ return fetch(`/keymap?firmware=${config.library}`)
+ .then(response => response.json())
+ .then(keymap => Object.assign(keymap, {
+ layer_names: keymap.layer_names || keymap.layers.map((_, i) => `Layer ${i}`)
+ }))
+}
diff --git a/application/data/keycodes.json b/application/data/keycodes.json
deleted file mode 100644
index ba5c1e3..0000000
--- a/application/data/keycodes.json
+++ /dev/null
@@ -1,264 +0,0 @@
-[
- { "code": "`KC_NO`", "aliases": ["`XXXXXXX`"], "description": "Ignore this key (NOOP)" },
- { "code": "`KC_TRANSPARENT`", "aliases": ["`KC_TRNS`", "`_______`"], "description": "Use the next lowest non-transparent key", "symbol": "∅" },
- { "code": "`KC_A`", "aliases": [ ], "description": "`a` and `A`" },
- { "code": "`KC_B`", "aliases": [ ], "description": "`b` and `B`" },
- { "code": "`KC_C`", "aliases": [ ], "description": "`c` and `C`" },
- { "code": "`KC_D`", "aliases": [ ], "description": "`d` and `D`" },
- { "code": "`KC_E`", "aliases": [ ], "description": "`e` and `E`" },
- { "code": "`KC_F`", "aliases": [ ], "description": "`f` and `F`" },
- { "code": "`KC_G`", "aliases": [ ], "description": "`g` and `G`" },
- { "code": "`KC_H`", "aliases": [ ], "description": "`h` and `H`" },
- { "code": "`KC_I`", "aliases": [ ], "description": "`i` and `I`" },
- { "code": "`KC_J`", "aliases": [ ], "description": "`j` and `J`" },
- { "code": "`KC_K`", "aliases": [ ], "description": "`k` and `K`" },
- { "code": "`KC_L`", "aliases": [ ], "description": "`l` and `L`" },
- { "code": "`KC_M`", "aliases": [ ], "description": "`m` and `M`" },
- { "code": "`KC_N`", "aliases": [ ], "description": "`n` and `N`" },
- { "code": "`KC_O`", "aliases": [ ], "description": "`o` and `O`" },
- { "code": "`KC_P`", "aliases": [ ], "description": "`p` and `P`" },
- { "code": "`KC_Q`", "aliases": [ ], "description": "`q` and `Q`" },
- { "code": "`KC_R`", "aliases": [ ], "description": "`r` and `R`" },
- { "code": "`KC_S`", "aliases": [ ], "description": "`s` and `S`" },
- { "code": "`KC_T`", "aliases": [ ], "description": "`t` and `T`" },
- { "code": "`KC_U`", "aliases": [ ], "description": "`u` and `U`" },
- { "code": "`KC_V`", "aliases": [ ], "description": "`v` and `V`" },
- { "code": "`KC_W`", "aliases": [ ], "description": "`w` and `W`" },
- { "code": "`KC_X`", "aliases": [ ], "description": "`x` and `X`" },
- { "code": "`KC_Y`", "aliases": [ ], "description": "`y` and `Y`" },
- { "code": "`KC_Z`", "aliases": [ ], "description": "`z` and `Z`" },
- { "code": "`KC_1`", "aliases": [ ], "description": "`1` and `!`" },
- { "code": "`KC_2`", "aliases": [ ], "description": "`2` and `@`" },
- { "code": "`KC_3`", "aliases": [ ], "description": "`3` and `#`" },
- { "code": "`KC_4`", "aliases": [ ], "description": "`4` and `$`" },
- { "code": "`KC_5`", "aliases": [ ], "description": "`5` and `%`" },
- { "code": "`KC_6`", "aliases": [ ], "description": "`6` and `^`" },
- { "code": "`KC_7`", "aliases": [ ], "description": "`7` and `&`" },
- { "code": "`KC_8`", "aliases": [ ], "description": "`8` and `*`" },
- { "code": "`KC_9`", "aliases": [ ], "description": "`9` and `(`" },
- { "code": "`KC_0`", "aliases": [ ], "description": "`0` and `)`" },
- { "code": "`KC_ENTER`", "aliases": ["`KC_ENT`"], "description": "Return (Enter)" },
- { "code": "`KC_ESCAPE`", "aliases": ["`KC_ESC`"], "description": "Escape" },
- { "code": "`KC_BSPACE`", "aliases": ["`KC_BSPC`"], "description": "Delete (Backspace)" },
- { "code": "`KC_TAB`", "aliases": [ ], "description": "Tab" },
- { "code": "`KC_SPACE`", "aliases": ["`KC_SPC`"], "description": "Spacebar" },
- { "code": "`KC_MINUS`", "aliases": ["`KC_MINS`"], "description": "`-` and `_`", "symbol": "-" },
- { "code": "`KC_EQUAL`", "aliases": ["`KC_EQL`"], "description": "`=` and `+`", "symbol": "+" },
- { "code": "`KC_LBRACKET`", "aliases": ["`KC_LBRC`"], "description": "`[` and `{`", "symbol": "[" },
- { "code": "`KC_RBRACKET`", "aliases": ["`KC_RBRC`"], "description": "`]` and `}`", "symbol": "]" },
- { "code": "`KC_BSLASH`", "aliases": ["`KC_BSLS`"], "description": "`\\` and `|`", "symbol": "\\" },
- { "code": "`KC_NONUS_HASH`", "aliases": ["`KC_NUHS`"], "description": "Non-US `#` and `~`", "symbol": "`" },
- { "code": "`KC_SCOLON`", "aliases": ["`KC_SCLN`"], "description": "`;` and `:`", "symbol": ";" },
- { "code": "`KC_QUOTE`", "aliases": ["`KC_QUOT`"], "description": "`'` and `\"`", "symbol": "'" },
- { "code": "`KC_GRAVE`", "aliases": ["`KC_GRV`", "`KC_ZKHK`"], "description": "<code>&#96;</code> and `~`, JIS Zenkaku/Hankaku", "symbol": "~" },
- { "code": "`KC_COMMA`", "aliases": ["`KC_COMM`"], "description": "`,` and `<`", "symbol": "," },
- { "code": "`KC_DOT`", "aliases": [ ], "description": "`.` and `>`", "symbol": "." },
- { "code": "`KC_SLASH`", "aliases": ["`KC_SLSH`"], "description": "`/` and `?`", "symbol": "/" },
- { "code": "`KC_CAPSLOCK`", "aliases": ["`KC_CLCK`", "`KC_CAPS`"], "description": "Caps Lock", "symbol": "CAPS" },
- { "code": "`KC_F1`", "aliases": [ ], "description": "F1" },
- { "code": "`KC_F2`", "aliases": [ ], "description": "F2" },
- { "code": "`KC_F3`", "aliases": [ ], "description": "F3" },
- { "code": "`KC_F4`", "aliases": [ ], "description": "F4" },
- { "code": "`KC_F5`", "aliases": [ ], "description": "F5" },
- { "code": "`KC_F6`", "aliases": [ ], "description": "F6" },
- { "code": "`KC_F7`", "aliases": [ ], "description": "F7" },
- { "code": "`KC_F8`", "aliases": [ ], "description": "F8" },
- { "code": "`KC_F9`", "aliases": [ ], "description": "F9" },
- { "code": "`KC_F10`", "aliases": [ ], "description": "F10" },
- { "code": "`KC_F11`", "aliases": [ ], "description": "F11" },
- { "code": "`KC_F12`", "aliases": [ ], "description": "F12" },
- { "code": "`KC_PSCREEN`", "aliases": ["`KC_PSCR`"], "description": "Print Screen" },
- { "code": "`KC_SCROLLLOCK`", "aliases": ["`KC_SLCK`", "`KC_BRMD`"], "description": "Scroll Lock, Brightness Down (macOS)" },
- { "code": "`KC_PAUSE`", "aliases": ["`KC_PAUS`", "`KC_BRK`", "`KC_BRMU`"], "description": "Pause, Brightness Up (macOS)" },
- { "code": "`KC_INSERT`", "aliases": ["`KC_INS`"], "description": "Insert" },
- { "code": "`KC_HOME`", "aliases": [ ], "description": "Home" },
- { "code": "`KC_PGUP`", "aliases": [ ], "description": "Page Up" },
- { "code": "`KC_DELETE`", "aliases": ["`KC_DEL`"], "description": "Forward Delete" },
- { "code": "`KC_END`", "aliases": [ ], "description": "End" },
- { "code": "`KC_PGDOWN`", "aliases": ["`KC_PGDN`"], "description": "Page Down", "symbol": "PgDn" },
- { "code": "`KC_RIGHT`", "aliases": ["`KC_RGHT`"], "description": "Right Arrow", "symbol": "⏵" },
- { "code": "`KC_LEFT`", "aliases": [ ], "description": "Left Arrow", "symbol": "⏴" },
- { "code": "`KC_DOWN`", "aliases": [ ], "description": "Down Arrow", "symbol": "⏷" },
- { "code": "`KC_UP`", "aliases": [ ], "description": "Up Arrow", "symbol": "⏶" },
- { "code": "`KC_NUMLOCK`", "aliases": ["`KC_NLCK`"], "description": "Keypad Num Lock and Clear" },
- { "code": "`KC_KP_SLASH`", "aliases": ["`KC_PSLS`"], "description": "Keypad `/`", "symbol": "/" },
- { "code": "`KC_KP_ASTERISK`", "aliases": ["`KC_PAST`"], "description": "Keypad `*`", "symbol": "KP *" },
- { "code": "`KC_KP_MINUS`", "aliases": ["`KC_PMNS`"], "description": "Keypad `-`", "symbol": "KP +" },
- { "code": "`KC_KP_PLUS`", "aliases": ["`KC_PPLS`"], "description": "Keypad `+`", "symbol": "KP -" },
- { "code": "`KC_KP_ENTER`", "aliases": ["`KC_PENT`"], "description": "Keypad Enter" },
- { "code": "`KC_KP_1`", "aliases": ["`KC_P1`"], "description": "Keypad `1` and End" },
- { "code": "`KC_KP_2`", "aliases": ["`KC_P2`"], "description": "Keypad `2` and Down Arrow" },
- { "code": "`KC_KP_3`", "aliases": ["`KC_P3`"], "description": "Keypad `3` and Page Down" },
- { "code": "`KC_KP_4`", "aliases": ["`KC_P4`"], "description": "Keypad `4` and Left Arrow" },
- { "code": "`KC_KP_5`", "aliases": ["`KC_P5`"], "description": "Keypad `5`" },
- { "code": "`KC_KP_6`", "aliases": ["`KC_P6`"], "description": "Keypad `6` and Right Arrow" },
- { "code": "`KC_KP_7`", "aliases": ["`KC_P7`"], "description": "Keypad `7` and Home" },
- { "code": "`KC_KP_8`", "aliases": ["`KC_P8`"], "description": "Keypad `8` and Up Arrow" },
- { "code": "`KC_KP_9`", "aliases": ["`KC_P9`"], "description": "Keypad `9` and Page Up" },
- { "code": "`KC_KP_0`", "aliases": ["`KC_P0`"], "description": "Keypad `0` and Insert" },
- { "code": "`KC_KP_DOT`", "aliases": ["`KC_PDOT`"], "description": "Keypad `.` and Delete" },
- { "code": "`KC_NONUS_BSLASH`", "aliases": ["`KC_NUBS`"], "description": "Non-US `\\` and `|`" },
- { "code": "`KC_APPLICATION`", "aliases": ["`KC_APP`"], "description": "Application (Windows Context Menu Key)" },
- { "code": "`KC_POWER`", "aliases": [ ], "description": "System Power" },
- { "code": "`KC_KP_EQUAL`", "aliases": ["`KC_PEQL`"], "description": "Keypad `=`", "symbol": "=" },
- { "code": "`KC_F13`", "aliases": [ ], "description": "F13" },
- { "code": "`KC_F14`", "aliases": [ ], "description": "F14" },
- { "code": "`KC_F15`", "aliases": [ ], "description": "F15" },
- { "code": "`KC_F16`", "aliases": [ ], "description": "F16" },
- { "code": "`KC_F17`", "aliases": [ ], "description": "F17" },
- { "code": "`KC_F18`", "aliases": [ ], "description": "F18" },
- { "code": "`KC_F19`", "aliases": [ ], "description": "F19" },
- { "code": "`KC_F20`", "aliases": [ ], "description": "F20" },
- { "code": "`KC_F21`", "aliases": [ ], "description": "F21" },
- { "code": "`KC_F22`", "aliases": [ ], "description": "F22" },
- { "code": "`KC_F23`", "aliases": [ ], "description": "F23" },
- { "code": "`KC_F24`", "aliases": [ ], "description": "F24" },
- { "code": "`KC_EXECUTE`", "aliases": ["`KC_EXEC`"], "description": "Execute" },
- { "code": "`KC_HELP`", "aliases": [ ], "description": "Help" },
- { "code": "`KC_MENU`", "aliases": [ ], "description": "Menu" },
- { "code": "`KC_SELECT`", "aliases": ["`KC_SLCT`"], "description": "Select" },
- { "code": "`KC_STOP`", "aliases": [ ], "description": "Stop" },
- { "code": "`KC_AGAIN`", "aliases": ["`KC_AGIN`"], "description": "Again" },
- { "code": "`KC_UNDO`", "aliases": [ ], "description": "Undo" },
- { "code": "`KC_CUT`", "aliases": [ ], "description": "Cut" },
- { "code": "`KC_COPY`", "aliases": [ ], "description": "Copy" },
- { "code": "`KC_PASTE`", "aliases": ["`KC_PSTE`"], "description": "Paste" },
- { "code": "`KC_FIND`", "aliases": [ ], "description": "Find" },
- { "code": "`KC__MUTE`", "aliases": [ ], "description": "Mute", "symbol": "MUTE", "faIcon": "volume-mute" },
- { "code": "`KC__VOLUP`", "aliases": [ ], "description": "Volume Up", "symbol": "VOL+", "faIcon": "volume-up" },
- { "code": "`KC__VOLDOWN`", "aliases": [ ], "description": "Volume Down", "symbol": "VOL-", "faIcon": "volume-down" },
- { "code": "`KC_LOCKING_CAPS`", "aliases": ["`KC_LCAP`"], "description": "Locking Caps Lock" },
- { "code": "`KC_LOCKING_NUM`", "aliases": ["`KC_LNUM`"], "description": "Locking Num Lock" },
- { "code": "`KC_LOCKING_SCROLL`", "aliases": ["`KC_LSCR`"], "description": "Locking Scroll Lock" },
- { "code": "`KC_KP_COMMA`", "aliases": ["`KC_PCMM`"], "description": "Keypad `,`" },
- { "code": "`KC_KP_EQUAL_AS400`", "aliases": [ ], "description": "Keypad `=` on AS/400 keyboards" },
- { "code": "`KC_INT1`", "aliases": ["`KC_RO`"], "description": "JIS `\\` and `_`" },
- { "code": "`KC_INT2`", "aliases": ["`KC_KANA`"], "description": "JIS Katakana/Hiragana" },
- { "code": "`KC_INT3`", "aliases": ["`KC_JYEN`"], "description": "JIS `¥` and `|`" },
- { "code": "`KC_INT4`", "aliases": ["`KC_HENK`"], "description": "JIS Henkan" },
- { "code": "`KC_INT5`", "aliases": ["`KC_MHEN`"], "description": "JIS Muhenkan" },
- { "code": "`KC_INT6`", "aliases": [ ], "description": "JIS Numpad `,`" },
- { "code": "`KC_INT7`", "aliases": [ ], "description": "International 7" },
- { "code": "`KC_INT8`", "aliases": [ ], "description": "International 8" },
- { "code": "`KC_INT9`", "aliases": [ ], "description": "International 9" },
- { "code": "`KC_LANG1`", "aliases": ["`KC_HAEN`"], "description": "Hangul/English" },
- { "code": "`KC_LANG2`", "aliases": ["`KC_HANJ`"], "description": "Hanja" },
- { "code": "`KC_LANG3`", "aliases": [ ], "description": "JIS Katakana" },
- { "code": "`KC_LANG4`", "aliases": [ ], "description": "JIS Hiragana" },
- { "code": "`KC_LANG5`", "aliases": [ ], "description": "JIS Zenkaku/Hankaku" },
- { "code": "`KC_LANG6`", "aliases": [ ], "description": "Language 6" },
- { "code": "`KC_LANG7`", "aliases": [ ], "description": "Language 7" },
- { "code": "`KC_LANG8`", "aliases": [ ], "description": "Language 8" },
- { "code": "`KC_LANG9`", "aliases": [ ], "description": "Language 9" },
- { "code": "`KC_ALT_ERASE`", "aliases": ["`KC_ERAS`"], "description": "Alternate Erase" },
- { "code": "`KC_SYSREQ`", "aliases": [ ], "description": "SysReq/Attention" },
- { "code": "`KC_CANCEL`", "aliases": [ ], "description": "Cancel" },
- { "code": "`KC_CLEAR`", "aliases": ["`KC_CLR`"], "description": "Clear" },
- { "code": "`KC_PRIOR`", "aliases": [ ], "description": "Prior" },
- { "code": "`KC_RETURN`", "aliases": [ ], "description": "Return" },
- { "code": "`KC_SEPARATOR`", "aliases": [ ], "description": "Separator" },
- { "code": "`KC_OUT`", "aliases": [ ], "description": "Out" },
- { "code": "`KC_OPER`", "aliases": [ ], "description": "Oper" },
- { "code": "`KC_CLEAR_AGAIN`", "aliases": [ ], "description": "Clear/Again" },
- { "code": "`KC_CRSEL`", "aliases": [ ], "description": "CrSel/Props" },
- { "code": "`KC_EXSEL`", "aliases": [ ], "description": "ExSel" },
- { "code": "`KC_LCTRL`", "aliases": ["`KC_LCTL`"], "description": "Left Control", "isModifier": true },
- { "code": "`KC_LSHIFT`", "aliases": ["`KC_LSFT`"], "description": "Left Shift", "isModifier": true, "symbol": "⇧" },
- { "code": "`KC_LALT`", "aliases": ["`KC_LOPT`"], "description": "Left Alt (Option)", "symbol": "⌥", "isModifier": true },
- { "code": "`KC_LGUI`", "aliases": ["`KC_LCMD`", "`KC_LWIN`"], "description": "Left GUI (Windows/Command/Meta key)", "symbol": "⌘", "isModifier": true },
- { "code": "`KC_RCTRL`", "aliases": ["`KC_RCTL`"], "description": "Right Control", "isModifier": true },
- { "code": "`KC_RSHIFT`", "aliases": ["`KC_RSFT`"], "description": "Right Shift", "isModifier": true, "symbol": "⇧" },
- { "code": "`KC_RALT`", "aliases": ["`KC_ROPT`", "`KC_ALGR`"], "description": "Right Alt (Option/AltGr)", "symbol": "⌥", "isModifier": true },
- { "code": "`KC_RGUI`", "aliases": ["`KC_RCMD`", "`KC_RWIN`"], "description": "Right GUI (Windows/Command/Meta key)", "symbol": "⌘", "isModifier": true },
- { "code": "`KC_SYSTEM_POWER`", "aliases": ["`KC_PWR`"], "description": "System Power Down" },
- { "code": "`KC_SYSTEM_SLEEP`", "aliases": ["`KC_SLEP`"], "description": "System Sleep" },
- { "code": "`KC_SYSTEM_WAKE`", "aliases": ["`KC_WAKE`"], "description": "System Wake" },
- { "code": "`KC_AUDIO_MUTE`", "aliases": ["`KC_MUTE`"], "description": "Mute" },
- { "code": "`KC_AUDIO_VOL_UP`", "aliases": ["`KC_VOLU`"], "description": "Volume Up" },
- { "code": "`KC_AUDIO_VOL_DOWN`", "aliases": ["`KC_VOLD`"], "description": "Volume Down" },
- { "code": "`KC_MEDIA_NEXT_TRACK`", "aliases": ["`KC_MNXT`"], "description": "Next Track" },
- { "code": "`KC_MEDIA_PREV_TRACK`", "aliases": ["`KC_MPRV`"], "description": "Previous Track" },
- { "code": "`KC_MEDIA_STOP`", "aliases": ["`KC_MSTP`"], "description": "Stop Track" },
- { "code": "`KC_MEDIA_PLAY_PAUSE`", "aliases": ["`KC_MPLY`"], "description": "Play/Pause Track" },
- { "code": "`KC_MEDIA_SELECT`", "aliases": ["`KC_MSEL`"], "description": "Launch Media Player" },
- { "code": "`KC_MEDIA_EJECT`", "aliases": ["`KC_EJCT`"], "description": "Eject" },
- { "code": "`KC_MAIL`", "aliases": [ ], "description": "Launch Mail" },
- { "code": "`KC_CALCULATOR`", "aliases": ["`KC_CALC`"], "description": "Launch Calculator" },
- { "code": "`KC_MY_COMPUTER`", "aliases": ["`KC_MYCM`"], "description": "Launch My Computer" },
- { "code": "`KC_WWW_SEARCH`", "aliases": ["`KC_WSCH`"], "description": "Browser Search" },
- { "code": "`KC_WWW_HOME`", "aliases": ["`KC_WHOM`"], "description": "Browser Home" },
- { "code": "`KC_WWW_BACK`", "aliases": ["`KC_WBAK`"], "description": "Browser Back" },
- { "code": "`KC_WWW_FORWARD`", "aliases": ["`KC_WFWD`"], "description": "Browser Forward" },
- { "code": "`KC_WWW_STOP`", "aliases": ["`KC_WSTP`"], "description": "Browser Stop" },
- { "code": "`KC_WWW_REFRESH`", "aliases": ["`KC_WREF`"], "description": "Browser Refresh" },
- { "code": "`KC_WWW_FAVORITES`", "aliases": ["`KC_WFAV`"], "description": "Browser Favorites" },
- { "code": "`KC_MEDIA_FAST_FORWARD`", "aliases": ["`KC_MFFD`"] , "description": "Next Track" },
- { "code": "`KC_MEDIA_REWIND`", "aliases": ["`KC_MRWD`"], "description": "Previous Track" },
- { "code": "`KC_BRIGHTNESS_UP`", "aliases": ["`KC_BRIU`"], "description": "Brightness Up" },
- { "code": "`KC_BRIGHTNESS_DOWN`", "aliases": ["`KC_BRID`"], "description": "Brightness Down" },
-
- { "code": "`RESET`", "aliases": [], "description": "Put the keyboard into bootloader mode for flashing" },
- { "code": "`DEBUG`", "aliases": [], "description": "Toggle debug mode" },
- { "code": "`EEPROM_RESET`", "aliases": ["`EEP_RST`"], "description": "Reinitializes the keyboard's EEPROM (persistent memory)" },
-
- { "code": "`DF(layer)`", "description": "Set the base (default) layer" },
- { "code": "`MO(layer)`", "description": "Momentarily turn on `layer` when pressed (requires `KC_TRNS` on destination layer" },
- { "code": "`OSL(layer)`", "description": "Momentarily activates `layer` until a key is pressed. See [One Shot Keys](one_shot_keys.md) for details." },
- { "code": "`LM(layer, mod)`", "description": "Momentarily turn on `layer` (like MO) with `mod` active as well. Where `mod` is a mods_bit. Mods can be viewed [here](mod_tap.md). Example Implementation: `LM(LAYER_1, MOD_LALT)`" },
- { "code": "`LT(layer, kc)`", "description": "Turn on `layer` when held, `kc` when tapped" },
- { "code": "`TG(layer)`", "description": "Toggle `layer` on or off" },
- { "code": "`TO(layer)`", "description": "Turns on `layer` and turns off all other layers, except the default layer" },
- { "code": "`TT(layer)`", "description": "Normally acts like MO unless it's tapped multiple times, which toggles `layer` on" },
-
- { "code": "`LCTL(kc)`", "aliases": [], "description": "Hold Left Control and press `kc`" },
- { "code": "`LSFT(kc)`", "aliases": [], "description": "Hold Left Shift and press `kc`", "symbol": "⇧" },
- { "code": "`LALT(kc)`", "aliases": ["`LOPT(kc)`"], "description": "Hold Left Alt and press `kc`" },
- { "code": "`LGUI(kc)`", "aliases": ["`LCMD(kc)`", "`LWIN(kc)`"], "description": "Hold Left GUI and press `kc`", "symbol": "⌘" },
- { "code": "`RCTL(kc)`", "description": "Hold Right Control and press `kc`" },
- { "code": "`RSFT(kc)`", "description": "Hold Right Shift and press `kc`", "symbol": "⇧" },
- { "code": "`RALT(kc)`", "aliases": ["`ROPT(kc)`", "`ALGR(kc)`"], "description": "Hold Right Alt and press `kc`" },
- { "code": "`RGUI(kc)`", "aliases": ["`RCMD(kc)`", "`LWIN(kc)`"], "description": "Hold Right GUI and press `kc`", "symbol": "⌘" },
- { "code": "`SGUI(kc)`", "aliases": ["`SCMD(kc)`", "`SWIN(kc)`"], "description": "Hold Left Shift and GUI and press `kc`" },
- { "code": "`LCA(kc)`", "description": "Hold Left Control and Alt and press `kc`" },
- { "code": "`LCAG(kc)`", "description": "Hold Left Control, Alt and GUI and press `kc`" },
- { "code": "`MEH(kc)`", "description": "Hold Left Control, Shift and Alt and press `kc`" },
- { "code": "`HYPR(kc)`", "description": "Hold Left Control, Shift, Alt and GUI and press `kc`" },
- { "code": "`KC_MEH`", "description": "Left Control, Shift and Alt" },
- { "code": "`KC_HYPR`", "description": "Left Control, Shift, Alt and GUI" },
-
- { "code": "`MT(mod, kc)`", "description": "`mod` when held, `kc` when tapped" },
- { "code": "`LCTL_T(kc)`", "aliases": ["`CTL_T(kc)`"], "description": "Left Control when held, `kc` when tapped" },
- { "code": "`LSFT_T(kc)`", "aliases": ["`SFT_T(kc)`"], "description": "Left Shift when held, `kc` when tapped" },
- { "code": "`LALT_T(kc)`", "aliases": ["`LOPT_T(kc)`", "`ALT_T(kc)`", "`OPT_T(kc)`"], "description": "Left Alt when held, `kc` when tapped" },
- { "code": "`LGUI_T(kc)`", "aliases": ["`LCMD_T(kc)`", "`LWIN_T(kc)`", "`GUI_T(kc)`", "`CMD_T(kc)`", "`WIN_T(kc)`"], "description": "Left GUI when held, `kc` when tapped" },
- { "code": "`RCTL_T(kc)`", "description": "Right Control when held, `kc` when tapped" },
- { "code": "`RSFT_T(kc)`", "description": "Right Shift when held, `kc` when tapped" },
- { "code": "`RALT_T(kc)`", "aliases": ["`ROPT_T(kc)`", "`ALGR_T(kc)`"], "description": "Right Alt when held, `kc` when tapped" },
- { "code": "`RGUI_T(kc)`", "aliases": ["`RCMD_T(kc)`", "`RWIN_T(kc)`"], "description": "Right GUI when held, `kc` when tapped" },
- { "code": "`SGUI_T(kc)`", "aliases": ["`SCMD_T(kc)`", "`SWIN_T(kc)`"], "description": "Left Shift and GUI when held, `kc` when tapped" },
- { "code": "`LCA_T(kc)`", "description": "Left Control and Alt when held, `kc` when tapped" },
- { "code": "`LCAG_T(kc)`", "description": "Left Control, Alt and GUI when held, `kc` when tapped" },
- { "code": "`RCAG_T(kc)`", "description": "Right Control, Alt and GUI when held, `kc` when tapped" },
- { "code": "`C_S_T(kc)`", "description": "Left Control and Shift when held, `kc` when tapped" },
- { "code": "`MEH_T(kc)`", "description": "Left Control, Shift and Alt when held, `kc` when tapped" },
- { "code": "`HYPR_T(kc)`", "aliases": ["`ALL_T(kc)`"], "description": "Left Control, Shift, Alt and GUI when held, `kc` when tapped - more info [here](http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/)" },
-
- { "code": "`RGB_TOG`", "description": "Toggle RGB lighting on or off" },
- { "code": "`RGB_MODE_FORWARD`", "aliases": ["`RGB_MOD`"], "description": "Cycle through modes, reverse direction when Shift is held" },
- { "code": "`RGB_MODE_REVERSE`", "aliases": ["`RGB_RMOD`"], "description": "Cycle through modes in reverse, forward direction when Shift is held" },
- { "code": "`RGB_HUI`", "description": "Increase hue, decrease hue when Shift is held" },
- { "code": "`RGB_HUD`", "description": "Decrease hue, increase hue when Shift is held" },
- { "code": "`RGB_SAI`", "description": "Increase saturation, decrease saturation when Shift is held" },
- { "code": "`RGB_SAD`", "description": "Decrease saturation, increase saturation when Shift is held" },
- { "code": "`RGB_VAI`", "description": "Increase value (brightness), decrease value when Shift is held" },
- { "code": "`RGB_VAD`", "description": "Decrease value (brightness), increase value when Shift is held" },
- { "code": "`RGB_SPI`", "description": "Increase effect speed (does not support eeprom yet), decrease speed when Shift is held" },
- { "code": "`RGB_SPD`", "description": "Decrease effect speed (does not support eeprom yet), increase speed when Shift is held" },
- { "code": "`KC_LCPO`", "description": "Left Control when held, `(` when tapped" },
- { "code": "`KC_RCPC`", "description": "Right Control when held, `)` when tapped" },
- { "code": "`KC_LSPO`", "description": "Left Shift when held, `(` when tapped", "symbol": "⇧/(" },
- { "code": "`KC_RSPC`", "description": "Right Shift when held, `)` when tapped", "symbol": "⇧/)" },
- { "code": "`KC_LAPO`", "description": "Left Alt when held, `(` when tapped" },
- { "code": "`KC_RAPC`", "description": "Right Alt when held, `)` when tapped" },
- { "code": "`KC_SFTENT`", "description": "Right Shift when held, Enter when tapped" }
-]
diff --git a/application/data/zmk-behaviours.json b/application/data/zmk-behaviours.json
deleted file mode 100644
index dedc486..0000000
--- a/application/data/zmk-behaviours.json
+++ /dev/null
@@ -1,70 +0,0 @@
-[
- {
- "bind": "&bt",
- "name": "Bluetooth",
- "params": ["command", "raw"],
- "commands": [{
- "code": "BT_CLR",
- "description": "Clear bond information between the keyboard and host for the selected profile."
- }, {
- "code": "BT_NXT",
- "description": "Switch to the next profile, cycling through to the first one when the end is reached."
- }, {
- "code": "BT_PRV",
- "description": "Switch to the previous profile, cycling through to the last one when the beginning is reached."
- }, {
- "code": "BT_SEL",
- "description": "Select the 0-indexed profile by number. Please note: this definition must include a number as an argument in the keymap to work correctly. eg. BT_SEL 0"
- }]
- },
- {
- "bind": "&kp",
- "name": "Key Press",
- "params": ["code"]
- },
- {
- "bind": "&lt",
- "name": "Layer Tap",
- "params": ["layer", "code"]
- },
- {
- "bind": "&mo",
- "name": "Momentary Layer",
- "params": ["layer"]
- },
- {
- "bind": "&mt",
- "name": "Mod Tap",
- "params": ["mod", "code"]
- },
- {
- "bind": "&out",
- "name": "Output selection",
- "params": ["command"],
- "commands": [{
- "code": "OUT_BLE",
- "description": "Prefer sending to USB"
- }, {
- "code": "OUT_USB",
- "description": "Prefer sending to the current bluetooth profile"
- }, {
- "code": "OUT_TOG",
- "description": "Toggle between USB and BLE"
- }]
- },
- {
- "bind": "&tog",
- "name": "Toggle Layer",
- "params": ["layer"]
- },
- {
- "bind": "&reset",
- "name": "Reset",
- "params": []
- },
- {
- "bind": "&trans",
- "name": "Transparent",
- "params": []
- }
-] \ No newline at end of file
diff --git a/application/data/zmk-keycodes.json b/application/data/zmk-keycodes.json
deleted file mode 100644
index c4f882b..0000000
--- a/application/data/zmk-keycodes.json
+++ /dev/null
@@ -1,5551 +0,0 @@
-[
- {
- "names": ["A"],
- "description": "a and A",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["B"],
- "description": "b and B",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["C"],
- "description": "c and C",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["D"],
- "description": "d and D",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["E"],
- "description": "e and E",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F"],
- "description": "f and F",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["G"],
- "description": "g and G",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["H"],
- "description": "h and H",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["I"],
- "description": "i and I",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["J"],
- "description": "j and J",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["K"],
- "description": "k and K",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["L"],
- "description": "l and L",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["M"],
- "description": "m and M",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["N"],
- "description": "n and N",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["O"],
- "description": "o and O",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["P"],
- "description": "p and P",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["Q"],
- "description": "q and Q",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["R"],
- "description": "r and R",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["S"],
- "description": "s and S",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["T"],
- "description": "t and T",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["U"],
- "description": "u and U",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=83",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["V"],
- "description": "v and V",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["W"],
- "description": "w and W",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["X"],
- "description": "x and X",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["Y"],
- "description": "y and Y",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["Z"],
- "description": "z and Z",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_1", "N1"],
- "description": "1 and ! [Exclamation]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["EXCLAMATION", "EXCL"],
- "description": "! [Exclamation]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_2", "N2"],
- "description": "2 and @ [At Sign]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["AT_SIGN", "AT"],
- "description": "@ [At Sign]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_3", "N3"],
- "description": "3 and # [Hash / Pound]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["HASH", "POUND"],
- "description": "# [Hash / Pound]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_4", "N4"],
- "description": "4 and $ [Dollar]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["DOLLAR", "DLLR"],
- "description": "$ [Dollar]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_5", "N5"],
- "description": "5 and % [Percent]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["PERCENT", "PRCNT"],
- "description": "% [Percent]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_6", "N6"],
- "description": "6 and ^ [Caret]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["CARET"],
- "description": "^ [Caret]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_7", "N7"],
- "description": "7 and & [Ampersand]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["AMPERSAND", "AMPS"],
- "description": "& [Ampersand]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_8", "N8"],
- "description": "8 and * [Asterisk / Star]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["ASTERISK", "ASTRK", "STAR"],
- "description": "* [Asterisk / Star]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_9", "N9"],
- "description": "9 and ( [Left Parenthesis]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["LEFT_PARENTHESIS", "LPAR"],
- "symbol": "(",
- "description": "( [Left Parenthesis]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NUMBER_0", "N0"],
- "description": "0 and ) [Right Parenthesis]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["RIGHT_PARENTHESIS", "RPAR"],
- "symbol": ")",
- "description": ") [Right Parenthesis]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["RETURN", "ENTER", "RET"],
- "symbol": "⏎",
- "description": "Return (Enter)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["ESCAPE", "ESC"],
- "description": "Escape",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["BACKSPACE", "BSPC"],
- "description": "Backspace",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["TAB"],
- "description": "Tab",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["SPACE"],
- "symbol": "␣",
- "description": "Space",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["MINUS"],
- "description": "- [Minus] and _ [Underscore]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["UNDERSCORE", "UNDER"],
- "description": "_ [Underscore]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["EQUAL"],
- "description": "= [Equal] and + [Plus]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["PLUS"],
- "description": "+ [Plus]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["LEFT_BRACKET", "LBKT"],
- "symbol": "[",
- "description": "[ [Left Bracket] and { [Left Brace]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["LEFT_BRACE", "LBRC"],
- "symbol": "{",
- "description": "{ [Left Brace]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["RIGHT_BRACKET", "RBKT"],
- "symbol": "]",
- "description": "] [Right Bracket] and } [Right Brace]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["RIGHT_BRACE", "RBRC"],
- "symbol": "}",
- "description": "} [Right Brace]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["BACKSLASH", "BSLH"],
- "symbol": "\\",
- "description": "\\ [Backslash] and | [Pipe]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["PIPE"],
- "description": "| [Pipe]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NON_US_HASH"],
- "description": "Non-US # [Hash/Pound] and ~ [Tilde]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["TILDE2"],
- "description": "~ [Tilde]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["SEMICOLON", "SEMI"],
- "symbol": ";",
- "description": "; [Semicolon] and : [Colon]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["COLON"],
- "description": ": [Colon]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["SINGLE_QUOTE", "SQT", "APOSTROPHE", "APOS"],
- "symbol": "'",
- "description": "' [Apostrophe] and \" [Quote (Double)]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["DOUBLE_QUOTES", "DQT"],
- "symbol": "\"",
- "description": "\" [Quote (Double)]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["GRAVE"],
- "description": "` [Grave Accent] and ~ [Tilde]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["TILDE"],
- "description": "~ [Tilde]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["COMMA"],
- "symbol": ",",
- "description": ", [Comma] and < [Less Than]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["LESS_THAN", "LT"],
- "description": "< [Less Than]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["PERIOD", "DOT"],
- "symbol": ".",
- "description": ". [Period] and > [Greater Than]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["GREATER_THAN", "GT"],
- "symbol": ">",
- "description": "> [Greater Than]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["SLASH", "FSLH"],
- "symbol": "/",
- "description": "/ [Forward Slash] and ? [Question Mark]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["QUESTION", "QMARK"],
- "symbol": "?",
- "description": "? [Question Mark]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["CAPSLOCK", "CAPS", "CLCK"],
- "description": "Caps Lock",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F1"],
- "description": "F1",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F2"],
- "description": "F2",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F3"],
- "description": "F3",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F4"],
- "description": "F4",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=84",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F5"],
- "description": "F5",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F6"],
- "description": "F6",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F7"],
- "description": "F7",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F8"],
- "description": "F8",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F9"],
- "description": "F9",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F10"],
- "description": "F10",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F11"],
- "description": "F11",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F12"],
- "description": "F12",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["PRINTSCREEN", "PSCRN"],
- "description": "Print Screen",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["SCROLLLOCK", "SLCK"],
- "description": "Scroll Lock",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["PAUSE_BREAK"],
- "description": "Pause / Break",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["INSERT", "INS"],
- "description": "Insert",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["HOME"],
- "description": "Home",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["PAGE_UP", "PG_UP"],
- "description": "Page Up",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["DELETE", "DEL"],
- "description": "Delete",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["END"],
- "description": "End",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["PAGE_DOWN", "PG_DN"],
- "description": "Page Down",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["RIGHT_ARROW", "RIGHT"],
- "symbol": "⏵",
- "description": "⮕ [Right Arrow]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["LEFT_ARROW", "LEFT"],
- "symbol": "⏴",
- "description": "⬅ [Left Arrow]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["DOWN_ARROW", "DOWN"],
- "symbol": "⏷",
- "description": "⬇ [Down Arrow]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["UP_ARROW", "UP"],
- "symbol": "⏶",
- "description": "⬆ [Up Arrow]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMLOCK", "KP_NUM", "KP_NLCK"],
- "description": "Numlock and Clear",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["CLEAR2"],
- "description": "Clear",
- "context": "Keypad",
- "clarify": null,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["KP_DIVIDE", "KP_SLASH"],
- "description": "/ [Divide]",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_MULTIPLY", "KP_ASTERISK"],
- "description": "* [Multiply]",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_MINUS", "KP_SUBTRACT"],
- "description": "- [Minus]",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_PLUS"],
- "description": "+ [Plus]",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_ENTER"],
- "description": "Enter",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_1", "KP_N1"],
- "description": "1",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_2", "KP_N2"],
- "description": "2",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_3", "KP_N3"],
- "description": "3",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_4", "KP_N4"],
- "description": "4",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_5", "KP_N5"],
- "description": "5",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_6", "KP_N6"],
- "description": "6",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_7", "KP_N7"],
- "description": "7",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_8", "KP_N8"],
- "description": "8",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_9", "KP_N9"],
- "description": "9",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_NUMBER_0", "KP_N0"],
- "description": "0",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=85",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["KP_DOT"],
- "description": ". [Dot]",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["NON_US_BACKSLASH", "NON_US_BSLH"],
- "symbol": "\\",
- "description": "Non-US \\ [Backslash] and | [Pipe]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["PIPE2"],
- "description": "| [Pipe]",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["K_APPLICATION", "K_APP", "K_CONTEXT_MENU", "K_CMENU"],
- "description": "Application (Context Menu)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {
- "ios": ["iosApplication"]
- }
- },
- {
- "names": ["K_POWER", "K_PWR"],
- "description": "Power",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": false,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {
- "macos": ["macosPower"],
- "ios": ["iosPower"]
- }
- },
- {
- "names": ["KP_EQUAL"],
- "description": "= [Equal]",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F13"],
- "description": "F13",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F14"],
- "description": "F14",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F15"],
- "description": "F15",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F16"],
- "description": "F16",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F17"],
- "description": "F17",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F18"],
- "description": "F18",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F19"],
- "description": "F19",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F20"],
- "description": "F20",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F21"],
- "description": "F21",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F22"],
- "description": "F22",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F23"],
- "description": "F23",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["F24"],
- "description": "F24",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["K_EXECUTE", "K_EXEC"],
- "description": "Execute",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_HELP"],
- "description": "Help",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_MENU"],
- "description": "Menu",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_SELECT"],
- "description": "Select",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_STOP"],
- "description": "Stop",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_AGAIN", "K_REDO"],
- "description": "Again",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_UNDO"],
- "description": "Undo",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_CUT"],
- "description": "Cut",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_COPY"],
- "description": "Copy",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_PASTE"],
- "description": "Paste",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_FIND"],
- "description": "Find",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_MUTE"],
- "faIcon": "volume-mute",
- "description": "Mute",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_VOLUME_UP", "K_VOL_UP"],
- "description": "Volume Up",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_VOLUME_DOWN", "K_VOL_DN"],
- "description": "Volume Down",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LOCKING_CAPS", "LCAPS"],
- "description": "Locking Caps Lock",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LOCKING_NUM", "LNLCK"],
- "description": "Locking Num Lock",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LOCKING_SCROLL", "LSLCK"],
- "description": "Locking Scroll Lock",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["KP_COMMA"],
- "description": ", [Comma]",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["KP_EQUAL_AS400"],
- "description": "= [Equal] (AS/400 keyboards)",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["INTERNATIONAL_1", "INT1", "INT_RO"],
- "description": "ろ (International 1)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["INTERNATIONAL_2", "INT2", "INT_KATAKANAHIRAGANA", "INT_KANA"],
- "description": "かな (International 2)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["INTERNATIONAL_3", "INT3", "INT_YEN"],
- "description": "¥ (International 3)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["INTERNATIONAL_4", "INT4", "INT_HENKAN"],
- "description": "変換 (International 4)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["INTERNATIONAL_5", "INT5", "INT_MUHENKAN"],
- "description": "無変換 (International 5)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["INTERNATIONAL_6", "INT6", "INT_KPJPCOMMA"],
- "description": ", [カソマ] (International 6)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["INTERNATIONAL_7", "INT7"],
- "description": "International 7",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["INTERNATIONAL_8", "INT8"],
- "description": "International 8",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["INTERNATIONAL_9", "INT9"],
- "description": "International 9",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LANGUAGE_1", "LANG1", "LANG_HANGEUL"],
- "description": "한/영 (Language 1)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LANGUAGE_2", "LANG2", "LANG_HANJA"],
- "description": "한자 (Language 2)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LANGUAGE_3", "LANG3", "LANG_KATAKANA"],
- "description": "カタカナ (Language 3)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LANGUAGE_4", "LANG4", "LANG_HIRAGANA"],
- "description": "ひらがな (Language 4)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LANGUAGE_5", "LANG5", "LANG_ZENKAKUHANKAKU"],
- "description": "半角/全角 (Language 5)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LANGUAGE_6", "LANG6"],
- "description": "Language 6",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LANGUAGE_7", "LANG7"],
- "description": "Language 7",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LANGUAGE_8", "LANG8"],
- "description": "Language 8",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["LANGUAGE_9", "LANG9"],
- "description": "Language 9",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["ALT_ERASE"],
- "description": "Alternate Erase",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["SYSREQ", "ATTENTION"],
- "description": "SysReq / Attention",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["K_CANCEL"],
- "description": "Cancel",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["CLEAR"],
- "description": "Clear",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["PRIOR"],
- "description": "Prior",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["RETURN2", "RET2"],
- "description": "Return",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["SEPARATOR"],
- "description": "Separator",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["OUT"],
- "description": "Out",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["OPER"],
- "description": "Oper",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["CLEAR_AGAIN"],
- "description": "Clear / Again",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["CRSEL"],
- "description": "CrSel / Props",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["EXSEL"],
- "description": "ExSel",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["KP_LEFT_PARENTHESIS", "KP_LPAR"],
- "description": "( [Left Parenthesis]",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["KP_RIGHT_PARENTHESIS", "KP_RPAR"],
- "description": ") [Right Parenthesis]",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=87",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["KP_CLEAR"],
- "description": "Clear",
- "context": "Keypad",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=88",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["LEFT_CONTROL", "LCTRL", "LC(code)"],
- "description": "Left Control",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=88",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["LEFT_SHIFT", "LSHIFT", "LSHFT", "LS(code)"],
- "symbol": "⇧",
- "description": "Left Shift ⇧",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=88",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["LEFT_ALT", "LALT", "LA(code)"],
- "symbol": "⌥",
- "description": "Left Alt",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=88",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": [
- "LEFT_GUI",
- "LGUI",
- "LG(code)",
- "LEFT_WIN",
- "LWIN",
- "LEFT_COMMAND",
- "LCMD",
- "LEFT_META",
- "LMETA"
- ],
- "symbol": "⌘",
- "description": "Left GUI (Windows / Command / Meta)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=88",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["RIGHT_CONTROL", "RCTRL", "RC(code)"],
- "description": "Right Control",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=88",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["RIGHT_SHIFT", "RSHIFT", "RSHFT", "RS(code)"],
- "symbol": "⇧",
- "description": "Right Shift ⇧",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=89",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["RIGHT_ALT", "RALT", "RA(code)"],
- "symbol": "⌥",
- "description": "Right Alt",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=89",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": [
- "RIGHT_GUI",
- "RGUI",
- "RG(code)",
- "RIGHT_WIN",
- "RWIN",
- "RIGHT_COMMAND",
- "RCMD",
- "RIGHT_META",
- "RMETA"
- ],
- "symbol": "⌘",
- "description": "Right GUI (Windows / Command / Meta)",
- "context": "Keyboard",
- "clarify": false,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=89",
- "os": {
- "windows": true,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": true
- },
- "footnotes": {}
- },
- {
- "names": ["K_PLAY_PAUSE", "K_PP"],
- "description": "Play / Pause",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_STOP2"],
- "description": "Stop",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_PREVIOUS", "K_PREV"],
- "description": "Previous",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_NEXT"],
- "description": "Next",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_EJECT"],
- "description": "Eject",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_VOLUME_UP2", "K_VOL_UP2"],
- "description": "Volume Up",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_VOLUME_DOWN2", "K_VOL_DN2"],
- "description": "Volume Down",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_MUTE2"],
- "description": "Mute",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_WWW"],
- "description": "Internet Browser",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_BACK"],
- "description": "Back",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_FORWARD"],
- "description": "Forward",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_STOP3"],
- "description": "Stop",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_FIND2"],
- "description": "Find",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_SCROLL_UP"],
- "description": "Scroll Up",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_SCROLL_DOWN"],
- "description": "Scroll Down",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_EDIT"],
- "description": "Edit",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_SLEEP"],
- "description": "Sleep",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_LOCK", "K_SCREENSAVER", "K_COFFEE"],
- "description": "Lock",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_REFRESH"],
- "description": "Refresh",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["K_CALCULATOR", "K_CALC"],
- "description": "Calculator",
- "context": "Keyboard",
- "clarify": true,
- "documentation": "https://source.android.com/devices/input/keyboard-devices#hid-keyboard-and-keypad-page-0x07",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": false,
- "ios": false
- },
- "footnotes": {}
- },
- {
- "names": ["C_POWER", "C_PWR"],
- "description": "Power",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=132",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": true,
- "ios": true
- },
- "footnotes": {
- "macos": ["macosPower"],
- "ios": ["iosPower"]
- }
- },
- {
- "names": ["C_RESET"],
- "description": "Reset",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=132",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_SLEEP"],
- "description": "Sleep",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=132",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_SLEEP_MODE"],
- "description": "Sleep Mode",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=132",
- "os": {
- "windows": null,
- "linux": false,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MENU"],
- "description": "Menu",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MENU_PICK", "C_MENU_SELECT"],
- "description": "Pick",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MENU_UP"],
- "description": "Up",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MENU_DOWN"],
- "description": "Down",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MENU_LEFT"],
- "description": "Left",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MENU_RIGHT"],
- "description": "Right",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MENU_ESCAPE", "C_MENU_ESC"],
- "description": "Escape",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MENU_INCREASE", "C_MENU_INC"],
- "description": "Value Increase",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MENU_DECREASE", "C_MENU_DEC"],
- "description": "Value Decrease",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_DATA_ON_SCREEN"],
- "description": "Data On Screen",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_CAPTIONS", "C_SUBTITILES"],
- "description": "Closed Caption",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_SNAPSHOT"],
- "description": "Snapshot",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_PIP"],
- "description": "Picture-in-Picture Toggle",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": false,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_RED_BUTTON", "C_RED"],
- "description": "Red Button",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_GREEN_BUTTON", "C_GREEN"],
- "description": "Green Button",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_BLUE_BUTTON", "C_BLUE"],
- "description": "Blue Button",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_YELLOW_BUTTON", "C_YELLOW"],
- "description": "Yellow Button",
- "context": "Consumer Menu",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=133",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_ASPECT"],
- "description": "Aspect",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_BRIGHTNESS_INC", "C_BRI_INC", "C_BRI_UP"],
- "description": "Increase Brightness",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": true,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_BRIGHTNESS_DEC", "C_BRI_DEC", "C_BRI_DN"],
- "description": "Decrease Brightness",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": true,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_BACKLIGHT_TOGGLE", "C_BKLT_TOG"],
- "description": "Backlight Toggle",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_BRIGHTNESS_MINIMUM", "C_BRI_MIN"],
- "description": "Minimum Brightness",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_BRIGHTNESS_MAXIMUM", "C_BRI_MAX"],
- "description": "Maximum Brightness",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_BRIGHTNESS_AUTO", "C_BRI_AUTO"],
- "description": "Auto Brightness",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=134",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_STEP", "C_MODE_STEP"],
- "description": "Mode Step",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_RECALL_LAST", "C_CHAN_LAST"],
- "description": "Recall Last",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_COMPUTER"],
- "description": "Computer",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_TV"],
- "description": "TV",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_WWW"],
- "description": "WWW",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_DVD"],
- "description": "DVD",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_PHONE"],
- "description": "Telephone",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_GUIDE"],
- "description": "Program Guide",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_VIDEOPHONE"],
- "description": "Video Phone",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_GAMES"],
- "description": "Games",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_MESSAGES"],
- "description": "Messages",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_CD"],
- "description": "CD",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_VCR"],
- "description": "VCR",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_TUNER"],
- "description": "Tuner",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_QUIT"],
- "description": "Quit",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_HELP"],
- "description": "Help",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_TAPE"],
- "description": "Tape",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_CABLE"],
- "description": "Cable",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_SATELLITE"],
- "description": "Satellite",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_HOME"],
- "description": "Home",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=136",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_CHANNEL_INC", "C_CHAN_INC"],
- "description": "Channel Increment",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=136",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_CHANNEL_DEC", "C_CHAN_DEC"],
- "description": "Channel Decrement",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=136",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MEDIA_VCR_PLUS"],
- "description": "VCR Plus",
- "context": "Consumer Media",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=135",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_PLAY"],
- "description": "Play",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_PAUSE"],
- "description": "Pause",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_RECORD", "C_REC"],
- "description": "Record",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_FAST_FORWARD", "C_FF"],
- "description": "Fast Forward",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_REWIND", "C_RW"],
- "description": "Rewind",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_NEXT"],
- "description": "Next",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_PREVIOUS", "C_PREV"],
- "description": "Previous",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_STOP"],
- "description": "Stop",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_EJECT"],
- "description": "Eject",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_RANDOM_PLAY", "C_SHUFFLE"],
- "description": "Random Play",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_REPEAT"],
- "description": "Repeat",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_SLOW_TRACKING", "C_SLOW2"],
- "description": "Slow Tracking",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_STOP_EJECT"],
- "description": "Stop / Eject",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": false,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_PLAY_PAUSE", "C_PP"],
- "description": "Play / Pause",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=137",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_VOICE_COMMAND"],
- "description": "Voice Command",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=132",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_MUTE"],
- "description": "Mute",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=139",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_BASS_BOOST"],
- "description": "Bass Boost",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=139",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_VOLUME_UP", "C_VOL_UP"],
- "faIcon": "volume-up",
- "description": "Volume Up",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=139",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_VOLUME_DOWN", "C_VOL_DN"],
- "faIcon": "volume-down",
- "description": "Volume Down",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=139",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": true,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_SLOW"],
- "description": "Slow",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=141",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_ALTERNATE_AUDIO_INCREMENT", "C_ALT_AUDIO_INC"],
- "description": "Alternate Audio Increment",
- "context": "Consumer",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf",
- "os": {
- "windows": null,
- "linux": false,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_CCC"],
- "description": "Consumer Control Configuration",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_WORD"],
- "description": "Word Processor",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_TEXT_EDITOR"],
- "description": "Text Editor",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_SPREADSHEET", "C_AL_SHEET"],
- "description": "Spreadsheet",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_GRAPHICS_EDITOR"],
- "description": "Graphics Editor",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_PRESENTATION"],
- "description": "Presentation",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_DATABASE", "C_AL_DB"],
- "description": "Database App",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_EMAIL", "C_AL_MAIL"],
- "description": "Email Reader",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_NEWS"],
- "description": "Newsreader",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_VOICEMAIL"],
- "description": "Voicemail",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_CONTACTS", "C_AL_ADDRESS_BOOK"],
- "description": "Contacts / Address Book",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_CALENDAR", "C_AL_CAL"],
- "description": "Calendar / Schedule",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_TASK_MANAGER"],
- "description": "Task / Project Manager",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_JOURNAL"],
- "description": "Log / Journal / Timecard",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_FINANCE"],
- "description": "Checkbook / Finance",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_CALCULATOR", "C_AL_CALC"],
- "description": "Calculator",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_AV_CAPTURE_PLAYBACK"],
- "description": "A/V Capture / Playback",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_MY_COMPUTER"],
- "description": "Local Machine Browser",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_WWW"],
- "description": "Internet Browser",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=147",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_NETWORK_CHAT", "C_AL_CHAT"],
- "description": "Network Chat",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_LOGOFF"],
- "description": "Logoff",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_LOCK", "C_AL_SCREENSAVER", "C_AL_COFFEE"],
- "description": "Terminal Lock / Screensaver",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_CONTROL_PANEL"],
- "description": "Control Panel",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_SELECT_TASK"],
- "description": "Select Task / Application",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_NEXT_TASK"],
- "description": "Next Task / Application",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_PREVIOUS_TASK", "C_AL_PREV_TASK"],
- "description": "Previous Task / Application",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_HELP"],
- "description": "Integrated Help Center",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_DOCUMENTS", "C_AL_DOCS"],
- "description": "Documents",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_SPELLCHECK", "C_AL_SPELL"],
- "description": "Spell Check",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_KEYBOARD_LAYOUT"],
- "description": "Keyboard Layout",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_SCREEN_SAVER"],
- "description": "Screen Saver",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_FILE_BROWSER", "C_AL_FILES"],
- "description": "File Browser",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_IMAGE_BROWSER", "C_AL_IMAGES"],
- "description": "Image Browser",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_AUDIO_BROWSER", "C_AL_AUDIO", "C_AL_MUSIC"],
- "description": "Audio Browser",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_MOVIE_BROWSER", "C_AL_MOVIES"],
- "description": "Movie Browser",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=148",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_INSTANT_MESSAGING", "C_AL_IM"],
- "description": "Instant Messaging",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=149",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AL_OEM_FEATURES", "C_AL_TIPS", "C_AL_TUTORIAL"],
- "description": "OEM Features / Tips / Tutorial Browser",
- "context": "Consumer AL",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=149",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_NEW"],
- "description": "New",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_OPEN"],
- "description": "Open",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_CLOSE"],
- "description": "Close",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_EXIT"],
- "description": "Exit",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_SAVE"],
- "description": "Save",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_PRINT"],
- "description": "Print",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_PROPERTIES", "C_AC_PROPS"],
- "description": "Properties",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_UNDO"],
- "description": "Undo",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_COPY"],
- "description": "Copy",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_CUT"],
- "description": "Cut",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_PASTE"],
- "description": "Paste",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_FIND"],
- "description": "Find",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_SEARCH"],
- "description": "Search",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_GOTO"],
- "description": "Go To",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_HOME"],
- "description": "Home",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_BACK"],
- "description": "Back",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_FORWARD"],
- "description": "Forward",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_STOP"],
- "description": "Stop",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_REFRESH"],
- "description": "Refresh",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_BOOKMARKS", "C_AC_FAVORITES", "C_AC_FAVOURITES"],
- "description": "Bookmarks",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_ZOOM_IN"],
- "description": "Zoom In",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_ZOOM_OUT"],
- "description": "Zoom Out",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_ZOOM"],
- "description": "Zoom",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=150",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_VIEW_TOGGLE"],
- "description": "View Toggle",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=151",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_SCROLL_UP"],
- "description": "Scroll Up",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=151",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_SCROLL_DOWN"],
- "description": "Scroll Down",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=151",
- "os": {
- "windows": null,
- "linux": true,
- "android": true,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_EDIT"],
- "description": "Edit",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=151",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_CANCEL"],
- "description": "Cancel",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=152",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_INSERT", "C_AC_INS"],
- "description": "Insert Mode",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=152",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_DEL"],
- "description": "Delete",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=152",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_REDO"],
- "description": "Redo / Repeat",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=152",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_REPLY"],
- "description": "Reply",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=153",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_FORWARD_MAIL"],
- "description": "Forward",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=153",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_SEND"],
- "description": "Send",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=153",
- "os": {
- "windows": null,
- "linux": true,
- "android": false,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_AC_DESKTOP_SHOW_ALL_WINDOWS"],
- "description": "Desktop Show All Windows",
- "context": "Consumer AC",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=153",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_KEYBOARD_INPUT_ASSIST_PREVIOUS", "C_KBIA_PREV"],
- "description": "Previous",
- "context": "Consumer KBIA",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=157",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_KEYBOARD_INPUT_ASSIST_NEXT", "C_KBIA_NEXT"],
- "description": "Next",
- "context": "Consumer KBIA",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=157",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_KEYBOARD_INPUT_ASSIST_PREVIOUS_GROUP", "C_KBIA_PREV_GRP"],
- "description": "Previous Group",
- "context": "Consumer KBIA",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=157",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_KEYBOARD_INPUT_ASSIST_NEXT_GROUP", "C_KBIA_NEXT_GRP"],
- "description": "Next Group",
- "context": "Consumer KBIA",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=157",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_KEYBOARD_INPUT_ASSIST_ACCEPT", "C_KBIA_ACCEPT"],
- "description": "Accept",
- "context": "Consumer KBIA",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=157",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- },
- {
- "names": ["C_KEYBOARD_INPUT_ASSIST_CANCEL", "C_KBIA_CANCEL"],
- "description": "Cancel",
- "context": "Consumer KBIA",
- "clarify": true,
- "documentation": "https://usb.org/sites/default/files/hut1_2.pdf#page=157",
- "os": {
- "windows": null,
- "linux": true,
- "android": null,
- "macos": null,
- "ios": null
- },
- "footnotes": {}
- }
-] \ No newline at end of file
diff --git a/application/keycodes.js b/application/keycodes.js
index 9cbde3d..ef11c6f 100644
--- a/application/keycodes.js
+++ b/application/keycodes.js
@@ -1,33 +1,25 @@
+import keyBy from 'lodash/keyBy'
+import * as api from './api'
import * as config from './config'
export function loadBehaviours () {
- return import('./data/zmk-behaviours.json')
- .then(behaviours => behaviours.default)
+ return api.loadBehaviours()
}
export function loadKeycodes () {
- const library = config.library === 'zmk'
- ? loadZMKKeycodes()
- : loadQMKKeycodes()
-
- return library
+ return api.loadKeycodes().then((
+ config.library === 'zmk'
+ ? normalizeZmkKeycodes
+ : normalizeKeycodes
+ ))
}
-function loadQMKKeycodes() { return import('./data/keycodes.json').then(keycodes => keycodes.default).then(normalizeKeycodes) }
-function loadZMKKeycodes() { return import('./data/zmk-keycodes.json').then(keycodes => keycodes.default).then(normalizeZmkKeycodes) }
-
-export async function loadIndexedKeycodes() {
- return loadKeycodes()
- .then(keycodes => (
- keycodes.reduce((map, keycode) => Object.assign(map, { [keycode.code]: keycode }), {})
- ))
+export function loadIndexedKeycodes() {
+ return loadKeycodes().then(keycodes => keyBy(keycodes, 'code'))
}
-export async function loadIndexedBehaviours() {
- return loadBehaviours()
- .then(behaviours => (
- behaviours.reduce((map, behaviour) => Object.assign(map, { [behaviour.bind]: behaviour }), {})
- ))
+export function loadIndexedBehaviours() {
+ return loadBehaviours().then(behaviours => keyBy(behaviours, 'bind'))
}
function shortestAlias (aliases) {
diff --git a/application/keymap.js b/application/keymap.js
index 3cc71d5..71fda3e 100644
--- a/application/keymap.js
+++ b/application/keymap.js
@@ -1,15 +1,7 @@
import keyBy from 'lodash/keyBy'
import filter from 'lodash/filter'
import * as config from './config'
-
-export function loadKeymap () {
- return fetch(`/keymap?${config.library}`, )
- .then(response => response.json())
- .then(keymap => {
- keymap.layer_names = keymap.layer_names || keymap.layers.map((_, i) => `Layer ${i}`)
- return keymap
- })
-}
+export { loadKeymap } from './api'
/**
* Parse a bind string into a tree of source values/parameters