commit | b908c22c7eddd62c797526fedac8224bffc47b41 | [log] [tgz] |
---|---|---|
author | Eric Arseneau <earseneau@google.com> | Thu Dec 10 15:41:36 2020 -0800 |
committer | Eric Arseneau <earseneau@google.com> | Thu Dec 10 15:41:36 2020 -0800 |
tree | 4eaa8eccaed7b46d98f2b306cbbe7ae6fa70b1e4 | |
parent | 945e645c8671d753dc5f940086b6d8db8cd2f11b [diff] | |
parent | d6b691a55b4b485a200eafe127c5f76de0b1d29d [diff] |
Merge spl-2020-12-05 Change-Id: I02d98eb917b58163086d92122549170b7188d509
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