File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
jme3-core/src/main/java/com/jme3/input Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -995,11 +995,11 @@ public void clearJoystickConnectionListeners() {
995995 * Called when a joystick has been added or removed.
996996 * This should only be called internally.
997997 * @param joystickId the ID of the joystick.
998- * @param event the event that occured (connected / disconnected).
998+ * @param state the state that occured (connected / disconnected).
999999 */
1000- public void fireJoystickConnectionEvent (int joystickId , int event ) {
1000+ public void fireJoystickConnectionEvent (int joystickId , JoystickState state ) {
10011001 for (JoystickConnectionListener listener : joystickConnectionListeners ) {
1002- listener .connectionChanged (joystickId , JoystickState . fromCode ( event ) );
1002+ listener .connectionChanged (joystickId , state );
10031003 }
10041004 }
10051005
You can’t perform that action at this time.
0 commit comments