(Android) Remove getAxis

This commit is contained in:
twinaphex 2013-03-08 23:29:10 +01:00
parent 18ec422901
commit 845e09b3cf

View File

@ -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.
*/