mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 15:26:55 -05:00
Added missing @Override annotations in Java file.
This commit is contained in:
parent
b2c9b7a871
commit
8c3a433919
4
android-project/src/org/libsdl/app/SDLActivity.java
Normal file → Executable file
4
android-project/src/org/libsdl/app/SDLActivity.java
Normal file → Executable 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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user