Skip to content

Commit

Permalink
Added missing @OverRide annotations in Java file.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Nov 10, 2013
1 parent 26ce68e commit d6c1e38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android-project/src/org/libsdl/app/SDLActivity.java 100644 → 100755
Expand Up @@ -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;

Expand Down

0 comments on commit d6c1e38

Please sign in to comment.