commit | 52c7ea2a2d2d61034202895829f74baf2a411ed8 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed May 04 23:09:26 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed May 04 23:09:26 2022 +0000 |
tree | cc48a02775aacb3a9a190c2f362d62be3f5a39b8 | |
parent | 955385861afd7fa08d85549a53276148128eb959 [diff] | |
parent | 1e8fe67f533815a3fdc19c4f6de42a5d8653b242 [diff] |
Snap for 8540474 from 1e8fe67f533815a3fdc19c4f6de42a5d8653b242 to tm-release Change-Id: I03add6979c4b867c2e931196c591ada1de3170c6
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