commit | d013e96dea93d7b07c8a43e562e0929d28608ce3 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Tue Sep 01 20:52:11 2020 -0700 |
committer | Xin Li <delphij@google.com> | Wed Sep 02 03:57:40 2020 +0000 |
tree | 86c89b13685cb3918a1c83e12452da07eb453d94 | |
parent | c393d764b56607cd6594ace84f3a6c7cfdf921df [diff] | |
parent | a96183c3bf6869ebb2a2e3532ab7f30501116a76 [diff] |
Merge library dependency changes. Bug: 167465592 Exempt-From-Owner-Approval: merge of downstream Change-Id: I3dd0288e3f6c7d406b37169bfceb046890392c66
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