commit | ca42bd4d8c651bcb60c9534c14f247771bc9f18a | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Fri Sep 18 23:10:48 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Sep 18 23:10:48 2020 +0000 |
tree | 47d966652e4dca492f3cd87b1419042944e096b9 | |
parent | a99dcaad1f6d0a8871a8f3b4edcccec0f5c9be68 [diff] | |
parent | 6131f6d27ef7e4266e4a5c996cb939195dc00aa6 [diff] |
Snap for 6847696 from 6131f6d27ef7e4266e4a5c996cb939195dc00aa6 to rvc-qpr1-release Change-Id: Ic3ac8f98fa8107271589e63fb39f071a7cd8a308
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