commit | 9ab108aa1b1a926bbd39858a3e90860536b3bcab | [log] [tgz] |
---|---|---|
author | Agatha Man <agathaman@google.com> | Wed Oct 28 15:56:52 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Oct 28 15:56:52 2020 +0000 |
tree | 65235e93eaea41f9eb92c50ed229453ab7d482f9 | |
parent | 9c9277e99e9d5849ccc9138b111450813c97b687 [diff] | |
parent | ac0fdd7550661edb08f83a76d2447f31f687875f [diff] |
Set the default input method to default_touch_input_method value am: ac0fdd7550 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/RotaryController/+/12819683 Change-Id: Id5e5fc03b1473bc8ea5d98854f81f37280b9a781
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