noah-nuebling / mac-mouse-fix

Mac Mouse Fix - Make Your $10 Mouse Better Than an Apple Trackpad!
https://macmousefix.com/
Other
5.58k stars 156 forks source link

Add support for Logitech MX Master mouse buttons [enhancement] #226

Open theo-brlle opened 2 years ago

theo-brlle commented 2 years ago

Description

The Logitech MX Master has a thumb button and also a "DPI" button. Currently these two buttons aren't recognized when trying to add them. This would be nice to add support to it.

Rationale

I would use the thumb button with the "Click and Drag" shortcut to show Mission Control and switch between spaces. My "DPI" button would be used to show desktop.

Additional info

I know that SteerMouse is able to detect a click on these buttons, so I really think this is a feasible enhancement! 🙂

EvansMatthew97 commented 2 years ago

I have a Logitech M720 and it looks like the thumb button is registered as a TAB button press. I can remap from Karabiner Elements from TAB to another mouse button, but Mac Mouse Fix doesn't detect it after mapping.

image

This could potentially be fixed by allowing keyboard button + mouse gesture as input.

nick-s5 commented 2 years ago

MX Master 3 user here, with macOS 12.3 bringing Universal Control out of beta macOS it would be really great to have this, the two reasons for using Logi Options are setting the mouse bindings and Logi Flow. UC replaces Logi Flow and is far superior. In the same way, MMF handles things like switching spaces in a much more fluid and far superior way. Just need to support that extra button and Mac Mouse Fix makes Logi Options obsolete :)

joshuaseltzer commented 2 years ago

@noah-nuebling is there any developer guide / tutorial on how to add support for additional buttons to your app? I'd be willing to help contribute myself, since having support for those 2 buttons would be perfect. I'm trying out SteerMouse right now, which supports those buttons, but does not have a "Click and Drag" functionality like your app.

LingweiMeng commented 2 years ago

Logitech G502 user here. I hope it can detect more buttons.

ramadhan-zain commented 2 years ago

@LingweiMeng wanting to buy g502 but still wondering if the thumb button (DPI shift) is detected on MMF to remap it on click and drag?

nick-s5 commented 2 years ago

@LingweiMeng @ramadhan-zain You might be able to use G-Hub to map the thumb button to a different key or key combination that MMF can detect. The G502 has onboard memory for configurations so in theory you could use G-Hub to set the thumb button to be any key combination that works with MMF, save that to the onboard memory, and then it should continue to work that way without needing G-Hub anymore.

ramadhan-zain commented 2 years ago

@LingweiMeng @ramadhan-zain You might be able to use G-Hub to map the thumb button to a different key or key combination that MMF can detect. The G502 has onboard memory for configurations so in theory you could use G-Hub to set the thumb button to be any key combination that works with MMF, save that to the onboard memory, and then it should continue to work that way without needing G-Hub anymore.

I just know that and it works! thanks for the reply! I've tried on g203 dpi cycle button switched to middle click

dingwen07 commented 2 years ago

The thumb button is mapped to the combination key control+option+tab

截屏2022-08-10 09 56 33

On Windows, the shortcut opens Task View, which is exactly what will happen if the Logitech Options software is not installed.

amcgregor commented 2 years ago

On macOS Monterey, without the Logitech software installed (which uses a shocking % of CPU just sitting there, with spikes on every keypress from any input device… 🤔) the result is as if I had pressed the F3 media key (Exposé, all windows), though I have seen situations where it behaves as if just pressing tab, often in games with custom keyboard handlers, likely ignoring the modifiers.

Behaving as the F3 media key is not what I get when pressing , which is a bit odd.

theo-brlle commented 1 year ago

I don't know if this can help but I found this resource, which may be useful to spy events from Logitech devices 🤔

EDIT: I see that the link I posted doesn't work anymore. Contact me if you are interested in it, I downloaded the files.

arrchi commented 3 months ago

I don't know if this can help but I found this resource, which may be useful to spy events from Logitech devices 🤔

EDIT: I see that the link I posted doesn't work anymore. Contact me if you are interested in it, I downloaded the files.

Hey, so that workaround allows us to detect the thumb button in MX master mouse?