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

ADB: Mouse acceleration / Extended Report / Wheel Emulation #728

Open
tmk opened this issue Apr 4, 2022 · 1 comment
Open

ADB: Mouse acceleration / Extended Report / Wheel Emulation #728

tmk opened this issue Apr 4, 2022 · 1 comment

Comments

@tmk
Copy link
Owner

tmk commented Apr 4, 2022

Acceleration

Current impl. of mouse accleration doesn't appear to be proper in ADB coverter. We can depend on OS setting.

I confirmed that Xorg/libinput can manage it well with Apple one-button mouse and Kensington Turbo Mouse 5.

This describes how libinput handles mouse acceleration.
https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html

This can seem to spoil mouse precision and resolution, converter Acceleration feature will be disabled or removed.

Extended Report

Most of ADB pointing devices won't require 16-bit report(-32767 to 32767).
Even Turbo Mouse 5 limts XY axes from -126 to 126 and 8-bit report is enough there.

16-bit Extend Report has no apparent drawback so far, leave this feature enabled.

Wheel Emulation

current configuration uses button 4 for wheel emulation by default.

This works well with Turbo Mouse 5 using button 4.
Xorg/libinput can also emulate scroll wheel, see man 4 libinput.

some user may want to use the button for other usage. Disable wheel emulation in default configuration?

@tmk
Copy link
Owner Author

tmk commented Apr 25, 2022

These are disabled by default now.

13d5730
ae18310
d3807f4

A few works are still needed.

  • Acceleration should be removed from adb_usb?
  • Weel Emulation should be moved in tmk_core?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant