Skip to content

Commit

Permalink
Renamed SDLGenericMotionListener back to SDLGenericMotionListener_API12
Browse files Browse the repository at this point in the history
  • Loading branch information
josebagar committed Mar 27, 2015
1 parent e7a659e commit 7399062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android-project/src/org/libsdl/app/SDLActivity.java
Expand Up @@ -950,7 +950,7 @@ public SDLSurface(Context context) {
mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE);

if(Build.VERSION.SDK_INT >= 12) {
setOnGenericMotionListener(new SDLGenericMotionListener());
setOnGenericMotionListener(new SDLGenericMotionListener_API12());
}

// Some arbitrary defaults to avoid a potential division by zero
Expand Down Expand Up @@ -1506,7 +1506,7 @@ public boolean handleMotionEvent(MotionEvent event) {
}
}

class SDLGenericMotionListener implements View.OnGenericMotionListener {
class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
// Generic Motion (mouse hover, joystick...) events go here
@Override
public boolean onGenericMotion(View v, MotionEvent event) {
Expand Down

0 comments on commit 7399062

Please sign in to comment.