Showcasing #keyd [1], very easy daemon to remap things on different keyboards.
@nm0i Nice! I have a couple of stuck keys in my old MacBook Pro โ I've worked it around by remapping them in Sway to a tiny shell script that types corresponding characters with wtype according to layout and modifiers, but this looks like a more proper solution. I'll check it out!
@nm0i
keyd worked perfectly! Among all things this MBP has a buggy trackpad and that has to be worked around by loading the Broadcom kernel module early after that both KB and pointer are presented as a single event device file, but luckily keyd has a mask to filter out mouse/pointer events.
I still have my sway/wtype-based workaround in place just in case โ but so far so good, works even outside graphical sessions now ๐