mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 09:35:21 +00:00
(Android) Remove getAxis
This commit is contained in:
parent
18ec422901
commit
845e09b3cf
@ -63,12 +63,6 @@ static typeof(AMotionEvent_getAxisValue) *p_AMotionEvent_getAxisValue;
|
||||
|
||||
#define AMotionEvent_getAxisValue (*p_AMotionEvent_getAxisValue)
|
||||
|
||||
float getAxis(AInputEvent *event, int stick, int axis, int pointer)
|
||||
{
|
||||
int axis_arg[2][2] = {{AXIS_X, AXIS_Y}, {AXIS_Z, AXIS_RZ}};
|
||||
return AMotionEvent_getAxisValue(event, axis_arg[stick][axis], pointer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Process the next main command.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user