Two month ago I made a hand-wired keyboard powered by Python (CircuitPython). After spending some time to improve the python keyboard,
it has similar features like TMK/QMK based keyboards now.
While, with python inside, the keyboard has some unique features. When connected to a computer, it is not just a keyboard, but also a USB drive.
The python code is in the USB drive, which make it super easy to modify keyboard code and add a extension.
To configure the keyboard's keymap, we can just edit keyboard.py in the USB drive with any text editor.
For example, use d key as a Tap-key to activate navigation functions (similar to vim).
The keymap is:
L1D = LAYER_TAP(1, D)
KEYMAP = (
# layer 0
(
ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, '-', '=', BACKSPACE,
TAB, Q, W, E, R, T, Y, U, I, O, P, '[', ']', '|',
CAPS, A, S, L1D, F, G, H, J, K, L, ';', '"', ENTER,
LSHIFT, Z, X, C, V, B, N, M, ',', '.', '/', RSHIFT,
LCTRL, LGUI, LALT, SPACE, RALT, MENU, L1, RCTRL
),
# layer 1
(
'`', F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL,
___, ___, ___, ___, ___, ___, ___,PGUP, ___, ___, ___, ___, ___, ___,
___, ___, ___, ___, ___, ___,LEFT, UP,DOWN,RIGHT, ___, ___, ___,
___, ___, ___, ___, ___, ___,PGDN, ___, ___, ___, ___, ___,
___, ___, ___, ___, ___, ___, ___, ___
)
)
The project is at
https://github.com/makerdiary/python-keyboardAs hand-wiring a keyboard is hard and is not for everyone, so I'm preparing a new keyboard pcb which will be powered by python.
What's your idea of a keyboard powered by python?