Added missing @Override annotations in Java file.
parent
26ce68e8c2
commit
d6c1e3812e
|
@ -853,22 +853,26 @@ class SDLJoystickHandler_API12 extends SDLJoystickHandler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getNumJoysticks() {
|
public int getNumJoysticks() {
|
||||||
createJoystickList();
|
createJoystickList();
|
||||||
|
|
||||||
return mJoyIdList.size();
|
return mJoyIdList.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getJoystickName(int joy) {
|
public String getJoystickName(int joy) {
|
||||||
createJoystickList();
|
createJoystickList();
|
||||||
return InputDevice.getDevice(mJoyIdList.get(joy)).getName();
|
return InputDevice.getDevice(mJoyIdList.get(joy)).getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getJoystickAxes(int joy) {
|
public int getJoystickAxes(int joy) {
|
||||||
createJoystickList();
|
createJoystickList();
|
||||||
return InputDevice.getDevice(mJoyIdList.get(joy)).getMotionRanges().size();
|
return InputDevice.getDevice(mJoyIdList.get(joy)).getMotionRanges().size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getJoyId(int devId) {
|
public int getJoyId(int devId) {
|
||||||
int i=0;
|
int i=0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue