diff options
author | Andrei Litvin <andreilitvin@google.com> | 2020-03-09 10:41:21 -0400 |
---|---|---|
committer | Andrei Litvin <andreilitvin@google.com> | 2020-03-13 11:00:50 -0400 |
commit | 4ca0163c5a3f52e5e9f95f368820962998b8f0fe (patch) | |
tree | 3039fec531860558eb525f86abcad5df0c17eed6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 25eee749f91459bf57081026bf9011120548a8a8 (diff) |
Defines Gamepad-specific keys and axis in UinputBridge.
Adds the ability to open gamepads in the JNI layer of server.tv.
Major changes:
- defined gamepad specific keys and axes
- centralized /dev/uinput file descriptor management during the
open method (since gamepad and remote have similar open logic)
- added gamepad open, keysend and axis send methods.
Test: Android remote service still works on a clean build & flash.
(tested remote service on my phone and UI navigation).
Test: as part of a larger chage chain, opened gamepad devices
and observed /dev/input/event* behaviour for axes and keys.
Bug: 150775713
Bug: 150776008
Bug: 150784056
Change-Id: I2eee6844dd85346753ec62430c234cc7e0179d3b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions