You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feedback on standard Android touchpad capture for the native display #98
I'd like feedback on adding mouse and touchpad capture to DroidVM's native display. The implementation is in #95.
It uses Android's public pointer capture API and handles both system-translated relative events and raw touchpad contacts. It uses the existing VM input path and has no vendor or device-model checks. The capture itself does not require a root input helper.
I tested the capture controls and two-finger scrolling in a Windows 11 guest on a Xiaomi Pad 8 Pro, and both worked as expected. I also verified capture with a USB mouse connected to the Android host. I'd be interested in hearing how it behaves on other devices.
Does this approach fit DroidVM's native display input design? Since #67 also touches pointer capture, how would you prefer the two changes to fit together?
Activity