commit | 0d308ed180b6f510275b7a40c877a66aebf73689 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat Nov 14 00:08:11 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat Nov 14 00:08:11 2020 +0000 |
tree | 4db1db7fb53c747146917930d65bf0bf37917eaa | |
parent | 240aef26fc1ee32506421784342d59bc3b8e5f2f [diff] | |
parent | d9ed9ea66ab1ceffc804cfff586cf07959558e78 [diff] |
Snap for 6971926 from d9ed9ea66ab1ceffc804cfff586cf07959558e78 to rvc-qpr2-release Change-Id: I5e88cc8d0039f6b0899dcea1538934e5883a4f7f
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