commit | 8ea3b9de8a1b3379387031087920bbfb5d03ecb7 | [log] [tgz] |
---|---|---|
author | Eric Arseneau <earseneau@google.com> | Mon Dec 06 14:36:53 2021 -0800 |
committer | Eric Arseneau <earseneau@google.com> | Mon Dec 06 14:36:53 2021 -0800 |
tree | 272726afe08fb4e1d808aa690c7d6ce587d25dcf | |
parent | d0a5cae242d3b4a5b96115cf300ec3e9f6ad36a4 [diff] | |
parent | 8a22fe6972ac550577f62d62a615726fef761bb4 [diff] |
Merge mpr-2021-11-05 Change-Id: Icab8e74b84886db3e266853bde761601b225f599
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