Skip to content

Android: a lease can get a hardware keyboard #1787

Open

Description

@V3RON

Problem

Leased Android emulators have no hardware keyboard: every library profile sets hw.keyboard=no. Tests that need one cannot run: physical-keyboard text entry, keyboard shortcuts, tablet layouts with the on-screen keyboard hidden.

A worker-wide config key (#1082) does not fit. It changes every emulator on the worker, a change means new seeds, and a lease cannot ask for it.

Proposal

Plug in a keyboard for one lease at runtime through agent-device (callstack/agent-device#4786): adb shell hid registers a virtual USB keyboard, which is unplugged when the session ends. No reboot, no new snapshot, no simlock config key.

Simlock side: once that ships, bump @agent-device/proxy and document it.

Written by an agent.

Activity

  1. added
    feature:blocked
    platform:android
    upstream
    on Nov 20, 2026
  2. V3RON commented on Nov 20, 2026

    @V3RON
    ContributorAuthor

    Waiting on upstream

    Upstream: callstack/agent-device#4786 (agent-device)

    When it ships in a release: bump @agent-device/proxy to that version, document the option on the website, and move this issue back to feature:spec.

    Written by an agent.

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

    feature:blockedplatform:androidupstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions