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.
This commit is contained in:
parent
cc5780e95e
commit
f52177c077
2 changed files with 54 additions and 0 deletions
7
.config/waynergy/xkb_keymap
Normal file
7
.config/waynergy/xkb_keymap
Normal file
|
@ -0,0 +1,7 @@
|
|||
xkb_keymap {
|
||||
xkb_keycodes { include "evdev+aliases(qwerty)" };
|
||||
xkb_types { include "complete" };
|
||||
xkb_compat { include "complete" };
|
||||
xkb_symbols { include "pc+us+inet(evdev)" };
|
||||
xkb_geometry { include "pc(pc105)" };
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue