Skip to content

Commit

Permalink
Add empty titles to US key legends
Browse files Browse the repository at this point in the history
  • Loading branch information
precondition committed Aug 10, 2022
1 parent 3ea1108 commit 90fdd37
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 128 deletions.
4 changes: 2 additions & 2 deletions src/i18n/keymap_extras/convert_keymap_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
# The comment is assumed to be on the same line as the `#define`
# and indicated with `//`, not `/*`.
# Example of a pattern match:
# #define FR_CIRC KC_LBRC // ^ (dead)
# (\w*) ([A-Z0-9_\(\)]+) (\S*)(\s+\(.*\))
# #define FR_CIRC KC_LBRC // ^ (dead)
# (\w*) ([A-Z0-9_\(\)]+) (\S*)(\s+\(.*\))
pattern: re.Pattern = re.compile(r"(\w*)\s*([A-Z0-9_\(\)]+)\s*\/\/\s*(\S*)(\s+\(.*\))?")
lut: Dict[str, Dict[str, str]] = {}
intl2us: Dict[str, str] = {}
Expand Down
252 changes: 126 additions & 126 deletions src/i18n/keymap_extras/keymap_us.js
Original file line number Diff line number Diff line change
@@ -1,129 +1,129 @@
export default {
KC_ESC: { name: 'Esc' },
KC_F1: { name: 'F1' },
KC_F2: { name: 'F2' },
KC_F3: { name: 'F3' },
KC_F4: { name: 'F4' },
KC_F5: { name: 'F5' },
KC_F6: { name: 'F6' },
KC_F7: { name: 'F7' },
KC_F8: { name: 'F8' },
KC_F9: { name: 'F9' },
KC_F10: { name: 'F10' },
KC_F11: { name: 'F11' },
KC_F12: { name: 'F12' },
KC_PSCR: { name: 'Print Screen' },
KC_SCRL: { name: 'Scroll Lock' },
KC_PAUS: { name: 'Pause' },
KC_GRV: { name: '~\n`' },
KC_1: { name: '!\n1' },
KC_2: { name: '@\n2' },
KC_3: { name: '#\n3' },
KC_4: { name: '$\n4' },
KC_5: { name: '%\n5' },
KC_6: { name: '^\n6' },
KC_7: { name: '&\n7' },
KC_8: { name: '*\n8' },
KC_9: { name: '(\n9' },
KC_0: { name: ')\n0' },
KC_MINS: { name: '_\n-' },
KC_EQL: { name: '+\n=' },
KC_BSPC: { name: 'Back Space' },
KC_INS: { name: 'Insert' },
KC_HOME: { name: 'Home' },
KC_PGUP: { name: 'Page Up' },
KC_NUM: { name: 'Num Lock' },
KC_PSLS: { name: '/' },
KC_PAST: { name: '*' },
KC_PMNS: { name: '-' },
KC_TAB: { name: 'Tab' },
KC_Q: { name: 'q' },
KC_W: { name: 'w' },
KC_E: { name: 'e' },
KC_R: { name: 'r' },
KC_T: { name: 't' },
KC_Y: { name: 'y' },
KC_U: { name: 'u' },
KC_I: { name: 'i' },
KC_O: { name: 'o' },
KC_P: { name: 'p' },
KC_LBRC: { name: '{\n[' },
KC_RBRC: { name: '}\n]' },
KC_BSLS: { name: '|\n\\' },
KC_DEL: { name: 'Delete' },
KC_END: { name: 'End' },
KC_PGDN: { name: 'Page Down' },
KC_P7: { name: '7' },
KC_P8: { name: '8' },
KC_P9: { name: '9' },
KC_PPLS: { name: '+' },
KC_CAPS: { name: 'Caps Lock' },
KC_A: { name: 'a' },
KC_S: { name: 's' },
KC_D: { name: 'd' },
KC_F: { name: 'f' },
KC_G: { name: 'g' },
KC_H: { name: 'h' },
KC_J: { name: 'j' },
KC_K: { name: 'k' },
KC_L: { name: 'l' },
KC_SCLN: { name: ':\n;' },
KC_QUOT: { name: '"\n\'', keys: "'" },
KC_ENT: { name: 'Enter' },
KC_P4: { name: '4' },
KC_P5: { name: '5' },
KC_P6: { name: '6' },
KC_PCMM: { name: ',' },
KC_LSFT: { name: 'Left Shift' },
KC_Z: { name: 'z' },
KC_X: { name: 'x' },
KC_C: { name: 'c' },
KC_V: { name: 'v' },
KC_B: { name: 'b' },
KC_N: { name: 'n' },
KC_M: { name: 'm' },
KC_COMM: { name: '<\n,' },
KC_DOT: { name: '>\n.' },
KC_SLSH: { name: '?\n/' },
KC_RSFT: { name: 'Right Shift' },
KC_UP: { name: 'Up' },
KC_P1: { name: '1' },
KC_P2: { name: '2' },
KC_P3: { name: '3' },
KC_PEQL: { name: '=' },
KC_LCTL: { name: 'Left Ctrl' },
KC_LGUI: { name: 'Left OS' },
KC_LALT: { name: 'Left Alt' },
KC_SPC: { name: 'Space' },
KC_RALT: { name: 'Right Alt' },
KC_RGUI: { name: 'Right OS' },
KC_ESC: { name: 'Esc', title: '' },
KC_F1: { name: 'F1', title: '' },
KC_F2: { name: 'F2', title: '' },
KC_F3: { name: 'F3', title: '' },
KC_F4: { name: 'F4', title: '' },
KC_F5: { name: 'F5', title: '' },
KC_F6: { name: 'F6', title: '' },
KC_F7: { name: 'F7', title: '' },
KC_F8: { name: 'F8', title: '' },
KC_F9: { name: 'F9', title: '' },
KC_F10: { name: 'F10', title: '' },
KC_F11: { name: 'F11', title: '' },
KC_F12: { name: 'F12', title: '' },
KC_PSCR: { name: 'Print Screen', title: '' },
KC_SCRL: { name: 'Scroll Lock', title: '' },
KC_PAUS: { name: 'Pause', title: '' },
KC_GRV: { name: '~\n`', title: '' },
KC_1: { name: '!\n1', title: '' },
KC_2: { name: '@\n2', title: '' },
KC_3: { name: '#\n3', title: '' },
KC_4: { name: '$\n4', title: '' },
KC_5: { name: '%\n5', title: '' },
KC_6: { name: '^\n6', title: '' },
KC_7: { name: '&\n7', title: '' },
KC_8: { name: '*\n8', title: '' },
KC_9: { name: '(\n9', title: '' },
KC_0: { name: ')\n0', title: '' },
KC_MINS: { name: '_\n-', title: '' },
KC_EQL: { name: '+\n=', title: '' },
KC_BSPC: { name: 'Back Space', title: '' },
KC_INS: { name: 'Insert', title: '' },
KC_HOME: { name: 'Home', title: '' },
KC_PGUP: { name: 'Page Up', title: '' },
KC_NUM: { name: 'Num Lock', title: '' },
KC_PSLS: { name: '/', title: '' },
KC_PAST: { name: '*', title: '' },
KC_PMNS: { name: '-', title: '' },
KC_TAB: { name: 'Tab', title: '' },
KC_Q: { name: 'q', title: '' },
KC_W: { name: 'w', title: '' },
KC_E: { name: 'e', title: '' },
KC_R: { name: 'r', title: '' },
KC_T: { name: 't', title: '' },
KC_Y: { name: 'y', title: '' },
KC_U: { name: 'u', title: '' },
KC_I: { name: 'i', title: '' },
KC_O: { name: 'o', title: '' },
KC_P: { name: 'p', title: '' },
KC_LBRC: { name: '{\n[', title: '' },
KC_RBRC: { name: '}\n]', title: '' },
KC_BSLS: { name: '|\n\\', title: '' },
KC_DEL: { name: 'Delete', title: '' },
KC_END: { name: 'End', title: '' },
KC_PGDN: { name: 'Page Down', title: '' },
KC_P7: { name: '7', title: '' },
KC_P8: { name: '8', title: '' },
KC_P9: { name: '9', title: '' },
KC_PPLS: { name: '+', title: '' },
KC_CAPS: { name: 'Caps Lock', title: '' },
KC_A: { name: 'a', title: '' },
KC_S: { name: 's', title: '' },
KC_D: { name: 'd', title: '' },
KC_F: { name: 'f', title: '' },
KC_G: { name: 'g', title: '' },
KC_H: { name: 'h', title: '' },
KC_J: { name: 'j', title: '' },
KC_K: { name: 'k', title: '' },
KC_L: { name: 'l', title: '' },
KC_SCLN: { name: ':\n;', title: '' },
KC_QUOT: { name: '"\n\'', keys: "'", title: '' },
KC_ENT: { name: 'Enter', title: '' },
KC_P4: { name: '4', title: '' },
KC_P5: { name: '5', title: '' },
KC_P6: { name: '6', title: '' },
KC_PCMM: { name: ',', title: '' },
KC_LSFT: { name: 'Left Shift', title: '' },
KC_Z: { name: 'z', title: '' },
KC_X: { name: 'x', title: '' },
KC_C: { name: 'c', title: '' },
KC_V: { name: 'v', title: '' },
KC_B: { name: 'b', title: '' },
KC_N: { name: 'n', title: '' },
KC_M: { name: 'm', title: '' },
KC_COMM: { name: '<\n,', title: '' },
KC_DOT: { name: '>\n.', title: '' },
KC_SLSH: { name: '?\n/', title: '' },
KC_RSFT: { name: 'Right Shift', title: '' },
KC_UP: { name: 'Up', title: '' },
KC_P1: { name: '1', title: '' },
KC_P2: { name: '2', title: '' },
KC_P3: { name: '3', title: '' },
KC_PEQL: { name: '=', title: '' },
KC_LCTL: { name: 'Left Ctrl', title: '' },
KC_LGUI: { name: 'Left OS', title: '' },
KC_LALT: { name: 'Left Alt', title: '' },
KC_SPC: { name: 'Space', title: '' },
KC_RALT: { name: 'Right Alt', title: '' },
KC_RGUI: { name: 'Right OS', title: '' },
KC_APP: { name: 'Menu', title: 'Context Menu' },
KC_RCTL: { name: 'Right Ctrl' },
KC_LEFT: { name: 'Left' },
KC_DOWN: { name: 'Down' },
KC_RGHT: { name: 'Right' },
KC_P0: { name: '0' },
KC_PDOT: { name: '.' },
KC_PENT: { name: 'Enter' },
KC_TILD: { name: '~' },
KC_EXLM: { name: '!' },
KC_AT: { name: '@' },
KC_HASH: { name: '#' },
KC_DLR: { name: '$' },
KC_PERC: { name: '%' },
KC_CIRC: { name: '^' },
KC_AMPR: { name: '&' },
KC_ASTR: { name: '*' },
KC_LPRN: { name: '(' },
KC_RPRN: { name: ')' },
KC_UNDS: { name: '_' },
KC_PLUS: { name: '+' },
KC_LCBR: { name: '{' },
KC_RCBR: { name: '}' },
KC_LT: { name: '<' },
KC_GT: { name: '>' },
KC_COLN: { name: ':' },
KC_PIPE: { name: '|' },
KC_QUES: { name: '?' },
KC_DQUO: { name: '"' }
KC_RCTL: { name: 'Right Ctrl', title: '' },
KC_LEFT: { name: 'Left', title: '' },
KC_DOWN: { name: 'Down', title: '' },
KC_RGHT: { name: 'Right', title: '' },
KC_P0: { name: '0', title: '' },
KC_PDOT: { name: '.', title: '' },
KC_PENT: { name: 'Enter', title: '' },
KC_TILD: { name: '~', title: '' },
KC_EXLM: { name: '!', title: '' },
KC_AT: { name: '@', title: '' },
KC_HASH: { name: '#', title: '' },
KC_DLR: { name: '$', title: '' },
KC_PERC: { name: '%', title: '' },
KC_CIRC: { name: '^', title: '' },
KC_AMPR: { name: '&', title: '' },
KC_ASTR: { name: '*', title: '' },
KC_LPRN: { name: '(', title: '' },
KC_RPRN: { name: ')', title: '' },
KC_UNDS: { name: '_', title: '' },
KC_PLUS: { name: '+', title: '' },
KC_LCBR: { name: '{', title: '' },
KC_RCBR: { name: '}', title: '' },
KC_LT: { name: '<', title: '' },
KC_GT: { name: '>', title: '' },
KC_COLN: { name: ':', title: '' },
KC_PIPE: { name: '|', title: '' },
KC_QUES: { name: '?', title: '' },
KC_DQUO: { name: '"', title: '' }
};

0 comments on commit 90fdd37

Please sign in to comment.