Skip to content

Keymap examples

tmk edited this page Jul 14, 2016 · 26 revisions

Share your keymap idea here!

https://github.com/tmk/tmk_keyboard/issues/265


Reverse-shifted for numbers

With pressing Shift and '1' key you get 1 while with just '1' key you get !.

KBT Pure layout

Keymap code on Alps64 https://github.com/thisisshi/tmk_keyboard/blob/15fe63e8d181a8a95988dcc71929f0024df55caa/keyboard/alps64/keymap_pure.c

and guide. https://github.com/thisisshi/tmk_keyboard/blob/77ac0805ade565fb23657e3644c920ada71edccf/keyboard/alps64/Guide.md

Keymap Editor links

Mouse keys with SpaceFn

hasu's on Alps64

Discussion

Space-Fn locking

Would be great to make a space-fn keymap, with locking mecanism. If you need your secondary layer for one key, you "space-key" what you need. But if you need much more (say, you have numpad on the secondary layer) keystrokes, you space-lock it, use whatever strokes you need (make your computation on your virtual numpad), and unlock it when you're done. I think we could do it using:

  • Momentary layer switching on space bar
  • Tap action for actual "space" on primary layer
  • Permanent layer toggle on secondary layer, on the lock key
  • Tap action for "space" on secondary layer to return to primary Is it doable? Is it the right way? Bonus: With two space bars (think Atreus with both thumbs on space), you could implement fn1 on left with locking on right, fn2 on right with locking on left, and unlock on both...
Clone this wiki locally