diff options
author | Andrei Litvin <andreilitvin@google.com> | 2020-03-16 10:26:14 -0400 |
---|---|---|
committer | Andrei Litvin <andreilitvin@google.com> | 2020-04-20 10:42:58 -0400 |
commit | 3b92b9682d9dbf8d6420432394218ef703c022d3 (patch) | |
tree | 983528fa8ae248c55cbf50cb9e8b902ef71f76d1 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 4e177518045bbc430bd7a467b207420e54db422d (diff) |
Add support for GamePad api in ITvRemoteServiceInput.
Gamepad-specific API is a separtate input path from standard "remote"
service. Specifically it adds:
- openGamepad that creates a virtual input device with
gamepad-specific suport
- send gamepad keys
- send gamepad axis updates, which support joysticks, analog triggers
and HAT axis (as an alternative to DPAD buttons).
Bug: 150764186
Test: atest media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/TvRemoteProviderTest.java
Test: flashed a ADT-3 device after the changes. Android TV Remote
on my phone still worked in controlling the UI.
Merged-In: I49612fce5e74c4e00ca60c715c6c72954e73b7a3
Change-Id: I49612fce5e74c4e00ca60c715c6c72954e73b7a3
(cherry picked from commit 9b9f556af1f53a6ae29d5560240b96fdc151978a)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions