Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logitech M650L delays button press of side button until button is released due to horizontal scrolling feature #739

Open
Sethur opened this issue May 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Sethur
Copy link

Sethur commented May 16, 2024

OS

macOs 14.4.1 (23E224)

LinearMouse

v0.9.5

Describe the bug

When using a Logitech M650L mouse connected via Bluetooth (on an M2 Mac), the side buttons are, per default, set up in a way that allows horizontal scrolling with the mouse wheel when pressing and holding one of the two side buttons.

Unfortunately, with this horizontal scrolling feature enabled, both side buttons will not send any events until they are released (at which point both the pressed and the released events are sent). This makes using the side buttons in Games or for any action where you want to hold the buttons (e.g., press-to-speak) unusable.

It would be good to have an option in LinearMouse that disables the horizontal scrolling for the M650L side buttons in a way that makes them fire events immediately when being pressed. This can be done with the official mouse software (Logitech Options+), but I want to avoid having to install that.

To reproduce

  1. Connect Logitech M650L via Bluetooth
  2. Start any event viewer to record mouse events or use any software to try to bind the side buttons to a HOLD-to-do-something event
  3. Press a side button and hold it
  4. Nothing happens
  5. Release the side button
  6. Both events (pressed, unpressed) are fired

Expected behavior

With horizontal scrolling disabled, the side buttons should work in games and other software like any other button.

Anything else?

No response

@Sethur Sethur added the bug Something isn't working label May 16, 2024
@Sethur Sethur changed the title Logitech M650L will Logitech M650L delays button press of side button until button is released due to horizontal scrolling feature May 16, 2024
@Sethur
Copy link
Author

Sethur commented May 18, 2024

Update: I went down a rabbit hole about this issue and actually found out how the official Logitech Options+ software disables/enables the "horizontal scrolling by holding down the side buttons"-feature via Bluetooth LE writes to a specific BLE attribute (characteristic). I did this by capturing the BLE packets using PacketLogger. Then I send those command strings manually to the respective GATT attribute and was able to disable/enable the feature. When disabled, the side buttons send out events right away when pressed.

I am not sure if this could be implemented in LinearMouse, but if so, let me know, then I can provide the command strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant