Change axis definition for Razer Raiju Mobile Controller.

LTRIGGER and RTRIGGER need to be mapped to axis 0x0a and 0x09 for Razer Raiju Mobile Controller.

Bug: 140958486
Test: atest android.hardware.input.cts.tests.RazerRaijuMobileBluetoothTest

Change-Id: I1f780334c3111d69f21aa9cae96f36d281e72440
This commit is contained in:
Chris Ye
2020-07-01 17:04:47 -07:00
parent d2560e2f2c
commit fd92ab3214
2 changed files with 10 additions and 12 deletions

View File

@@ -32,12 +32,6 @@ key 0x137 BUTTON_R1
key 0x138 BUTTON_L2
key 0x139 BUTTON_R2
# L2 axis
axis 0x03 LTRIGGER
# R2 axis
axis 0x04 RTRIGGER
# Left Analog Stick
axis 0x00 X
axis 0x01 Y
@@ -45,6 +39,11 @@ axis 0x01 Y
axis 0x02 Z
axis 0x05 RZ
# L2 axis
axis 0x09 RTRIGGER
# R2 axis
axis 0x0a LTRIGGER
# Left stick click
key 0x13d BUTTON_THUMBL
# Right stick click

View File

@@ -32,12 +32,6 @@ key 0x137 BUTTON_R1
key 0x138 BUTTON_L2
key 0x139 BUTTON_R2
# L2 axis
axis 0x03 LTRIGGER
# R2 axis
axis 0x04 RTRIGGER
# Left Analog Stick
axis 0x00 X
axis 0x01 Y
@@ -45,6 +39,11 @@ axis 0x01 Y
axis 0x02 Z
axis 0x05 RZ
# L2 axis
axis 0x09 RTRIGGER
# R2 axis
axis 0x0a LTRIGGER
# Left stick click
key 0x13d BUTTON_THUMBL
# Right stick click