Added missing @Override annotations in Java file.

This commit is contained in:
Philipp Wiesemann 2013-11-10 17:35:07 +01:00
parent 26ce68e8c2
commit d6c1e3812e
1 changed files with 4 additions and 0 deletions

4
android-project/src/org/libsdl/app/SDLActivity.java Normal file → Executable file
View File

@ -853,22 +853,26 @@ class SDLJoystickHandler_API12 extends SDLJoystickHandler {
}
}
@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;