Skip to content
Permalink
Browse files

Added missing @override annotations in Java file.

  • Loading branch information
philippwiesemann committed Nov 10, 2013
1 parent 26ce68e commit d6c1e3812e4d24498586c1195f1e04405db57097
Showing with 4 additions and 0 deletions.
  1. +4 −0 android-project/src/org/libsdl/app/SDLActivity.java
@@ -853,22 +853,26 @@ private void createJoystickList() {
}
}

@Override
public int getNumJoysticks() {
createJoystickList();

return mJoyIdList.size();
}

@Override
public String getJoystickName(int joy) {
createJoystickList();
return InputDevice.getDevice(mJoyIdList.get(joy)).getName();
}

@Override
public int getJoystickAxes(int joy) {
createJoystickList();
return InputDevice.getDevice(mJoyIdList.get(joy)).getMotionRanges().size();
}

@Override
public int getJoyId(int devId) {
int i=0;

0 comments on commit d6c1e38

Please sign in to comment.