2 ms·
It makes me wonder, how exactly would one go about implementing Linux remapping that works on everything on a per-user basis? Is there a way to hook into the US
by jwells89 3y ago
It makes me wonder, how exactly would one go about implementing Linux remapping that works on everything on a per-user basis? Is there a way to hook into the USB HID implementation and change what it reports to X, Wayland, etc and flip it on/off based on user preferences?
- bombcar 3y agoYou'd likely need to have the kernel be able to switch "keymaps" at anytime (and this is likely to be privileged and need to be done by root). I know there was a way to load different keyboard layouts, but the problem with those mechanisms is they often cannot remap modifier keys, of which capslock is a special case of.