I couldn’t find the Lpad key code, maybe is KEYCODE_DPAD_UP
,KEYCODE_DPAD_DOWN
, KEYCODE_DPAD_LEFT
, KEYCODE_DPAD_RIGHT
?
188 = RpadUp,
189 = RpadRight,
190 = RpadDown,
191 = RpadLeft,
192 = Lshoulder,
193 = Rshoulder,
194 = Ltrigger,
195 = Rtrigger,
196 = Back,
197 = Start,
198 = Lstick click,
199 = Rstick click,
the app doesn’t show the name of the axis, i guess that is AMOTION_EVENT_AXIS_X
, AMOTION_EVENT_AXIS_Y
, AMOTION_EVENT_AXIS_RZ
.
AXIS_X : -1.0 = Lstick left,
AXIS_X: 1.0 = Lstick right,
AXIS_Y: -1.0 = Lstick up,
AXIS_Y: 1.0 = Lstick down,
AXIS_Z: -1.0 = Rstick left,
AXIS_Z: 1.0 = Rstick right,
AXIS_RZ: -1.0 = Rstick up,
AXIS_RZ: 1.0 = Rstick down.