commit | 65bde6245fb176d3c03dd2730aaebb7cce928006 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Feb 08 02:09:05 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Feb 08 02:09:05 2022 +0000 |
tree | 41d03c8644ad749f1fa6c63f2ff8470d9a1ac169 | |
parent | 01224e9917748f7e7299700b379d8e1be951d8c1 [diff] | |
parent | 5be1e642e66964a1dc695918500a30560e4a7d37 [diff] |
Snap for 8157174 from 5be1e642e66964a1dc695918500a30560e4a7d37 to tm-release Change-Id: If3a5b6e794b3fd7cfbce447870568427898a640c
make CarRotaryController -j64
To enable, run:
adb shell settings put secure enabled_accessibility_services com.android.car.rotary/com.android.car.rotary.RotaryService
To disable, run:
adb shell settings delete secure enabled_accessibility_services
To rotate the controller counter-clockwise, run:
adb shell cmd car_service inject-rotary
For clockwise, run:
adb shell cmd car_service inject-rotary -c true
To rotate the controller multiple times (100 ms ago and 50 ms ago), run:
adb shell cmd car_service inject-rotary -dt 100 50
To nudge the controller up, run:
adb shell cmd car_service inject-key 280
Use KeyCode 280
for nudge up, 281
for nudge down,282
for nudge left,283
for nudge right.
To click the controller center button, run:
adb shell cmd car_service inject-key 23