commit | ac0fdd7550661edb08f83a76d2447f31f687875f | [log] [tgz] |
---|---|---|
author | Agatha Man <agathaman@google.com> | Mon Oct 12 16:08:19 2020 -0700 |
committer | Agatha Man <agathaman@google.com> | Thu Oct 22 20:32:53 2020 -0700 |
tree | 3b3cf6ae9c309cd3f6933e5d01c24bcf9dfc37ce | |
parent | 64791ec018766181e970d876141e766beef82db5 [diff] |
Set the default input method to default_touch_input_method value This change sets the DEFAULT_INPUT_METHOD in case Android defaults to the rotary_input_method. Bug: 169423887 Test: manual Change-Id: I3784819d5c4ad6adae1dce3647327c3610dc9831
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