-
-
Notifications
You must be signed in to change notification settings - Fork 287
Description
Description
I am using a Logitech M650 mouse that has 5 buttons, however the app doesn't recognizes swipe movements/ guestures on the 4th and 5th button of my mouse. Logitech own driver Logi Options and BetterMouse does support them. I do have a small idea how it does that.
I encountered logiops thats an unofficial linux drive for logitech mouses and also supports guestures and it does with the help of hidpp. hidpp is a protocol designed to customize logitech mouse I guess. I found you've a port of hidpp available for mac, and I really appreciate your efforts. I tried setting up my mouse with that.
Through hidpp I can customize my mouse 3, 4 and 5 buttons, but it doesn't works out of the box.
$ ./hidpp20-reprog-controls dev://4295238409 info
Control Task Info Fn Capabilities Group Remap to groups
0x0050 0x0038 mouse - - 1 -
0x0051 0x0039 mouse - - 1 -
0x0052 0x003a mouse - reprog, divert 3 1 2 3
0x0053 0x003c mouse - reprog, divert 2 1 2
0x0056 0x003e mouse - reprog, divert 2 1 2
0x00d7 0x00b4 - - divert, virtual 4 -
I tried BetterMouse and it customizes mouse 4 button to use the following flags:
$ ./hidpp20-reprog-controls dev://4295238409 get 0x0053
0x0056 (flags: divert)
The app doesn't even recognize the button now. Tried Karabiner-Eventviewer and looks like it is listed in Unknown events. Means Macos doesn't recognizes these events out of the box.
I am not sure how to make these events get recognized in the mac-mouse-fix app. On looking at the source code it uses Mac CGEvent API to found out the button events.
Rationale
This will add support to various logitech mouses through the app.
Additional info
I’m willing to put in the effort, but I’m relatively new to app development and C programming. Therefore, I’ll need your constant assistance.