programmable keyboard rant 

things programmable keyboards can do:
- macros
- layers
- operate the mouse
things programmable keyboards can't do:
- use capslock as a modifier

re: programmable keyboard rant 

@jookia Why not remap the keyboard events on the OS level? I did it like https://github.com/kris7t/keyboard_remap/blob/master/keyboard_remap.py with evdev, but probably there’s a less messy way. It also works on non-programmable keyboards, like the laptop’s internal one (but not while the computer is still booting).

Although using caps as a modifier is probably doable with just xkb.

re: programmable keyboard rant 

@kristof it's probably not possible

re: programmable keyboard rant 

@jookia If you want an additional modifier with plain xkb, then you can set the key to have more levels (like EIGHT_LEVEL, e.g. in https://github.com/DreymaR/BigBagKbdTrixXKB/blob/master/xkb-data_xmod/xkb/symbols/level5) and then map <CAPS> to ISO_Level5_Shift, e.g. in https://github.com/DreymaR/BigBagKbdTrixXKB/blob/master/xkb-data_xmod/xkb/symbols/level5. This still preserves e.g. AltGr as an ISO_Level3_Shift. I used to run with a similar setup to this, but I am linking to some random xkb files I found with a search now, because nowadays I remap keys on the evdev level (xkb can’t really do stuff like modifier on hold, other key for single press, but it’s relatively easy with evdev).

Follow

re: programmable keyboard rant 

@kristof i don't want to remap caps

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!