commit | 69b8b1b3a34c779594dd2e170bd33c2946ef83d8 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue May 10 07:04:23 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue May 10 07:04:23 2022 +0000 |
tree | cc48a02775aacb3a9a190c2f362d62be3f5a39b8 | |
parent | d4f93e02f481e72d365c35ae946eab5aafe32601 [diff] | |
parent | f557ac70f54bba05eaea404d628ead059e1f3d25 [diff] |
Snap for 8564071 from f557ac70f54bba05eaea404d628ead059e1f3d25 to mainline-documentsui-release Change-Id: I01a6ae15f9e6aef31f89fecfa12b18fdaa110afc
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