RootAutomatorOptions
10/22/22Less than 1 minute
RootAutomatorOptions
root_automator.RootAutomatorOptions
Options for creating a RootAutomator / RootAutomator2 instance: root vs adb, optional explicit input device path, and coordinate handling.
Inheritance
↳
RootAutomatorOptions
Table of contents
Properties
Properties
inputDevice
• Optional inputDevice: string
Path to the touch input device node, e.g. /dev/input/event5.
If omitted, the implementation auto-detects the device; detection failure throws. To discover the path manually, run getevent -t in a shell, interact with the screen, and note which /dev/input/event* receives events.
orientationAware
• Optional orientationAware: boolean
When true (default), (x, y) are interpreted in the current display orientation (landscape origin rotates with the device). When false, behavior matches the legacy Rhino RootAutomator coordinate system.
