Commit graph

7 commits

Author SHA1 Message Date
8ed1d8bcf6 Move mic mute key to Pause
When I rebuilt my windows box, the newer version of synergy I got
started binding Scroll Lock to a global "Lock cursor to screen" thing
and so this must move.

Also Waynergy never handled Pause correctly and I never noticed.
2025-01-19 14:01:40 -08:00
47a2a163d6 Add single-key support for screenshot and mute
- Add printscreen and scroll_lock as keys for screenshot and mic_mute
- Add waynergy config support for rewriting the printscreen keycode to
the code evdev xkb map expects
2024-10-27 02:49:44 -07:00
59aeff83d3 Switch waynergy idle-inhibit from none to false
I think either work but the docs explictly say to use `false`
2024-03-11 21:51:30 -07:00
6536e7b531 Fix waynergy bug with mousewheel speed & wl-roots
One version of waynergy made a bad assumption about mousewheel speed if
you're using the wl-roots method of input handling and would set the
multiplier to 8, causing the mousewheel to send things spinning out of
contorl. That's been fixed but there's no harm in declaring this
explicitly anyway.
2023-02-22 03:32:00 -08:00
a03f6f8ade Disable waynergy's idle inhibiting
I don't use a locker on sway anyway, so it's doing nothing but confusing
people about my avaibility on Discord/XMPP/Matrix
2022-05-21 18:24:10 -07:00
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