Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd92ab32 authored by Chris Ye's avatar Chris Ye
Browse files

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
parent d2560e2f
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -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
+5 −6
Original line number Diff line number Diff line
@@ -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