Skip to content

Commit

Permalink
keymap-drawer: Map additional keys
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Sep 15, 2023
1 parent 58fbff8 commit af9e3bc
Showing 1 changed file with 55 additions and 2 deletions.
57 changes: 55 additions & 2 deletions config/keymap_drawer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,23 @@ parse_config:
# Custom behavior
'&smart_lshift': '$$tabler:arrow-big-up$$'
'&smart_rshift': '$$tabler:arrow-big-up$$'
'&symbols': 'Symbols'
'&nav': 'Navigation'
'&symbols': '$$tabler:math-symbols$$'
'&tog 2': '$$tabler:math-symbols$$'
'&nav': '$$tabler:wheel$$'
'&tog 3': '$$tabler:wheel$$'
'&rgb_ug_status_macro': '$$tabler:star$$'

zmk_keycode_map:
RET: '$$tabler:arrow-back$$'
BACKSPACE: '$$tabler:backspace$$'
SPACE: '$$tabler:space$$'
LALT: 'Alt' # UK layout
RALT: 'AltGr' # UK layout
LCTRL: 'Ctrl'
RCTRL: 'Ctrl'
LGUI: '$$tabler:brand-windows$$'
TAB: '$$tabler:arrows-left-right$$'

EXCLAMATION: '!'
EXCL: '!'
AT_SIGN: '"' # UK layout
Expand Down Expand Up @@ -70,3 +84,42 @@ parse_config:
NON_US_HASH: '#'
NUHS: '#'
TILDE2: '~'

KP_NUM: 'NumLock'
KP_MINUS: '-'
KP_PLUS: '+'
KP_SLASH: '/'
KP_MULTIPLY: '*'
KP_EQUAL: '='
KP_DOT: '.'
KP_1: '1'
KP_2: '2'
KP_3: '3'
KP_4: '4'
KP_5: '5'
KP_6: '6'
KP_7: '7'
KP_8: '8'
KP_9: '9'
KP_0: '0'

LEFT_ARROW: '$$tabler:arrow-narrow-left$$'
LEFT: '$$tabler:arrow-narrow-left$$'
RIGHT_ARROW: '$$tabler:arrow-narrow-right$$'
RIGHT: '$$tabler:arrow-narrow-right$$'
UP_ARROW: '$$tabler:arrow-narrow-up$$'
UP: '$$tabler:arrow-narrow-up$$'
DOWN_ARROW: '$$tabler:arrow-narrow-down$$'
DOWN: '$$tabler:arrow-narrow-down$$'
PAGE_UP: 'PgUp'
PAGE_DOWN: 'PgDown'
HOME: 'Home'
END: 'End'
PSCRN: 'Print'

PP: '$$tabler:player-play$$'
PREV: '$$tabler:player-skip-back$$'
NEXT: '$$tabler:player-skip-forward$$'
MUTE: '$$tabler:volume-3$$'
VOL_UP: '$$tabler:volume$$'
VOL_DN: '$$tabler:volume-2$$'

0 comments on commit af9e3bc

Please sign in to comment.