Skip to content

Feedback on standard Android touchpad capture for the native display #98

Open

Description

@Suxto

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions