Skip to content
Taku Docs

Version 1.4.0 (current)

Targeted taps, swipes, and keys · input.shell

Operate across apps and ensure input reaches the background display

Purpose and status

Operate across apps and ensure input reaches the background display

Inventory status as of 2026-10-10: Verified within the recorded emulator scope (emulator_verified).

Historically, native-preview taps paused DeskClock and timing continued after the main-screen viewer was collapsed. This does not guarantee every app or multi-touch.

Before calling

Source descriptions below retain their original language; identifiers and commands are unchanged.

FieldSource value
apiMin36
minimumBasisKey methods used by the example / this project’s target version
publicSdkClassfalse
exampleApiMin36
declaredVersionNotesinput -d and host commands here were tested on API36; earlier CLI parameters depend on the system branch; no minimum general Android version is promised.
Device conditions (source record as of 2026-10-10)Historical source wording, 2026-10-10: Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device
Environments recorded as of 2026-10-10Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582

ROM requirement: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project

Permissions and authorization

Permission or qualificationAuthorization condition
shell or the protected INJECT_EVENTS permissionAuthorized ADB/shell; the current root host sends events via input -d; cannot be called directly from regular JS

Entry points

Entry pointAvailability
input -d <displayId> tap/swipe/keyeventExisting experimental entry point

Call examples

device_shell

Environment: Phone root shell

Prerequisites: Authorized ADB/shell; the current root host sends events via input -d; cannot be called directly from regular JS

agent_display_id=$(phone-display id)
input -d "$agent_display_id" tap 360 1210
input -d "$agent_display_id" keyevent 4

Expected result: Input enters that logical display; verify through the display content or target state

Executed in the source record’s run: Not executed in that run; see the validation scope below.

Limitations

  • Successful injection is not business success; dynamic display IDs must not be hardcoded.
  • Same-app task migration, rotation, focus, and touch regions can affect results.

Validation records

Research

FieldSource value
statusdocumented
scopeUpstream mechanism and research variants; see limitations for unimplemented parts

Emulator

FieldSource value
statuspassed_in_scope
targetAgentOS_ImageCheck / API36 / ARM64
scopeHistorically, native-preview taps paused DeskClock and timing continued after the main-screen viewer was collapsed. This does not guarantee every app or multi-touch.
date2026-10-10

Physical device

FieldSource value
statusnot_verified
date—
devices[]

Not yet verified on a physical device as of 2026-10-10. See current progress for later status.

Look up input.shell in capabilities.en.json for the complete record. See current progress for later project evidence.

Upstream references

Chinese version.

Version and sources

Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see Current progress for later device support. Detailed source prose can remain in its original language.

Research preview · Current availability

Documentation retrieval

Search the published documentation for excerpts and citations. This uses full-text retrieval, not LLM-generated answers.

Every result links to the original article. Read research ideas separately from verified capabilities.

Help and troubleshooting →
Was this article helpful?
Report an issue or give feedback

Delivery to the maintenance queue does not mean it has been handled. Feedback is retained for 90 days.

Built with Fumadocs

On this page