I have an Alice Keyboard (space split in two). I remap left space to the Super key (windows key for nerds) but when I want to play some games I have to remap again with the VIA gui.
I want to automate this process with a bash script (I use arch btw) but I can’t find any info related.
Someone with the same problem? Any solution?
Ty :)
I solved this by adding a layer for games.
Since I use Dvorak, games usually meant reconfiguring every game key layout, and with Factorio, that’s every key, and key combination. So I made a QWERTY layer and bound a layer switch to pressing both shift keys at the same time. I just toggle between the layers between games and non games.
Yess i forgot about layers haha.
Ty for the help
I know in QMK you can set up different layouts that you can switch to. This is used for switching between qwerty and dvorak and stuff like that. You could set up layers that have the space defined like you want it in each condition. Check out PDF(layer): https://docs.qmk.fm/feature_layers#switching-and-toggling-layers
The Planck keyboard default firmware does this on an ‘adjust’ layer: https://github.com/qmk/qmk_firmware/blob/master/keyboards/planck/rev7/keymaps/default/keymap.c
This is how I’d do it. But it’s not something that you control from the computer side. Also, having it baked into the firmware means you can use that feature on whatever system you might want to plug the keyboard into. I don’t know if that kind of thing is possible to set up with the VIA gui. But since you’re using arch (btw), learning QMK might be right up your alley!
There’s also this feature in QMK that I don’t quite understand called the ‘Programmable Button’ that lets the software interpret certain keycodes before handing off to the OS (I think that’s how it works? I might have that wrong): https://docs.qmk.fm/features/programmable_button
I hope that helps :)
Wow literally the rabbit hole of qmk. I will take a look, thank u so much!
Why not just make two profiles?
And how it works? Can I change between profiles with a shortcut?
Yeah any keyboard that supports multiple profiles will have a key combo for switching. What model is your keyboard?
I have a CIDOO ABM066. I fix the problems creating a layer for gaming. Ty so much!