thealpa / SaneSideButtons

A macOS menu bar app that enables system-wide navigation functionality for side buttons on third-party mice.
https://janhuelsmann.com/sanesidebuttons
GNU General Public License v2.0
362 stars 15 forks source link

Doesn't work when using Synergy 3 #20

Open jaredmcateer opened 1 year ago

jaredmcateer commented 1 year ago

I use this virtual KVM switch to share my mouse and keyboard across multiple computers. When controlling my Macbook the gesture emulation doesn't work but if I connect the same mouse directly to the macbook it does. I'd be happy to try and troubleshoot more but I don't really know what to look for.

Apple M1 Pro macOS 13.6 Synergy 3.0.73 RC2

FWIW my other machines are a PC w/ dual boot Ubuntu 22/Windows 11 (which is my main pc and controls the mouse and keyboard) and a Thinkpad running Ubuntu 22.

thealpa commented 11 months ago

Maybe the KVM software is modifying the the HID events or they are not "simulating" HID events. You could try and modify the event creation in the setupEventTap() function to debug this. Good place to start would be either the mask or CGEventTapLocation tap location.