commit | 2fedd5681ad2776006de5deb4a4c549b91729382 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Dec 20 11:07:08 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Dec 20 11:07:08 2021 +0000 |
tree | 272726afe08fb4e1d808aa690c7d6ce587d25dcf | |
parent | 17ba1c182c2fae045ecba5e69be271f324c99acd [diff] | |
parent | 8ea3b9de8a1b3379387031087920bbfb5d03ecb7 [diff] |
Snap for 8014993 from 8ea3b9de8a1b3379387031087920bbfb5d03ecb7 to s-keystone-qcom-release Change-Id: Iaa76e5f1067175cbbb7a7aaf7cda83a47e615b6c
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