Commit graph

2 commits

Author SHA1 Message Date
d6cf217287 Remove extraneous keymaps
These keys are handled by the xkb offset and can be removed to make the
rewrites we actually have to do more legible.
2022-05-17 22:55:40 -07:00
f52177c077 Add Waynergy configs
This is a rough one. Waynergy is the Wayland-compatible replacement for
synergy. As far as I can tell it works largely on black magic.

For whatever reason, Waynergy doesn't handle keycodes the same way
Synergy/Barrier do. It uses raw codes as sent by the server. These codes
can exceed the X cap of 318, resulting in keys being ignored in XWayland
sessions.

The dev's recommended path to keyboard support is to use a custom xkb
keymap and I guess just shrug at the dropped keys over 318. My method
uses the stock evdev xkb keymap and instead uses raw keycodes to swap
out-of-band keys to their expected keycodes.

The warning the dev gives is this is brittle and won't work on any other
OS, or possibly keyboard/box. I don't care.
2022-05-17 22:47:10 -07:00