mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Renamed a class in Java file for consistency.
This commit is contained in:
parent
802f83ff99
commit
2d67178149
@ -483,7 +483,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
|||||||
mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE);
|
mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE);
|
||||||
|
|
||||||
if(Build.VERSION.SDK_INT >= 12) {
|
if(Build.VERSION.SDK_INT >= 12) {
|
||||||
setOnGenericMotionListener(new SDLGenericMotionHandler_API12());
|
setOnGenericMotionListener(new SDLGenericMotionListener_API12());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Some arbitrary defaults to avoid a potential division by zero
|
// Some arbitrary defaults to avoid a potential division by zero
|
||||||
@ -886,7 +886,7 @@ class SDLJoystickHandler_API12 extends SDLJoystickHandler {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class SDLGenericMotionHandler_API12 implements View.OnGenericMotionListener {
|
class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
|
||||||
// Generic Motion (mouse hover, joystick...) events go here
|
// Generic Motion (mouse hover, joystick...) events go here
|
||||||
// We only have joysticks yet
|
// We only have joysticks yet
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user