Skip to content

Feature: Use Android Accessibility Service​ to capture global key events (Win Key, Alt+Tab) #348

@DanielToyama

Description

@DanielToyama

Problem:
When using a physical keyboard with AVNC, certain key combinations (like Win, Alt+Tab, Win+Tab) are always captured by the host Android/OS instead of being sent to the remote VNC session. This breaks the workflow when trying to use the corresponding functions (e.g., Start Menu, application switching) within the remote desktop.

Feature Request:
Implement a "Keyboard Shortcut Interception" mode or option. When enabled, AVNC should capture designated system-level shortcuts and send them directly to the remote VNC server, preventing the host OS from handling them.

Specifically, it would be ideal to intercept:
• Win / Super key: To open the remote Start Menu.

• Alt + Tab: To switch applications within the remote OS.

• Win + Tab / Alt + Esc etc.: Other common desktop navigation shortcuts.

Proposed Implementation:
This could be implemented as:

  1. A simple toggle in the settings (e.g., "Capture system keys").
  2. Or, more flexibly, a customizable key blocking list.

Benefit:
This provides a seamless keyboard experience, especially for users who primarily interact with the remote machine, eliminating the need to constantly switch focus between the host device and the remote desktop.

Thank you for considering this enhancement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions