I've just got my first mechanical keyboard (an AMJ40). I want to set it up so that it has the same layout as my android keyboard, the theory being that it's probably easier to learn, even if it does seem a bit odd.
I've been using keyboard-layout-editor.com to fiddle with the planned layout, here (
http://www.keyboard-layout-editor.com/#/gists/d2f77590c1457ce44d139af34552fc40), but then when it comes to actually programming the keyboard it looks pretty manual.
I started a quick stab at something to help speed it up, but I wondered if I was reinventing the wheel. Has anyone already been down this road?
https://gist.github.com/notionparallax/5243a5f0bed46f811dea1c3d2b51ce6dThe idea is that it produces an ascii art version and a c keymap version, e.g.:
******
main Layer
-----------------------------------------------------------
| Esc | Q | W | E | R | T | Y | U | I | O | P | Backspace |
-----------------------------------------------------------
| Tab | A | S | D | F | G | H | J | K | L | Enter |
---------------------------------------------------
| shift | Z | X | C | V | B | N | M | . | ↑ | Shift |
----------------------------------------------------------
| Ctrl | | Alt | | space | ← | ↓ | → |
---------------------------------------------------------
KEYMAP(
Esc, Q, W, E, R, T, Y, U, I, O, P, Backspace, \
Tab, A, S, D, F, G, H, J, K, L, Enter, \
shift, Z, X, C, V, B, N, M, ., ↑, Shift, \
Ctrl, TRNS, Alt, TRNS, space, ←, ↓, →, \
)
****** and so on. There is still a bit of converting to do between
← and
LEFT etc.
Anyway, if it's been done before, then great, if not, do people think that it's useful?