@ -764,12 +764,25 @@ public class InputManager implements RawInputListener {
}
}
}
}
/ * *
/ * *
* @deprecated Use isSimulateMouse
* Returns state of simulation of mouse events . Used for touchscreen input only .
* Returns state of simulation of mouse events . Used for touchscreen input only .
*
*
* /
* /
public boolean getSimulateMouse ( ) {
public boolean getSimulateMouse ( ) {
if ( touch ! = null ) {
if ( touch ! = null ) {
return touch . getSimulateMouse ( ) ;
return touch . isSimulateMouse ( ) ;
} else {
return false ;
}
}
/ * *
* Returns state of simulation of mouse events . Used for touchscreen input only .
*
* /
public boolean isSimulateMouse ( ) {
if ( touch ! = null ) {
return touch . isSimulateMouse ( ) ;
} else {
} else {
return false ;
return false ;
}
}
@ -786,6 +799,18 @@ public class InputManager implements RawInputListener {
}
}
}
}
/ * *
* Returns state of simulation of key events . Used for touchscreen input only .
*
* /
public boolean isSimulateKeyboard ( ) {
if ( touch ! = null ) {
return touch . isSimulateKeyboard ( ) ;
} else {
return false ;
}
}
private void processQueue ( ) {
private void processQueue ( ) {
int queueSize = inputQueue . size ( ) ;
int queueSize = inputQueue . size ( ) ;
RawInputListener [ ] array = getRawListenerArray ( ) ;
RawInputListener [ ] array = getRawListenerArray ( ) ;