Forgot to add isSimulateKeyboard to TouchInput interface.
This commit is contained in:
parent
1ed1463476
commit
a116389814
@ -679,4 +679,8 @@ public class AndroidInput implements
|
||||
return mouseEventsEnabled;
|
||||
}
|
||||
|
||||
public boolean isSimulateKeyboard() {
|
||||
return keyboardEventsEnabled;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -92,6 +92,11 @@ public interface TouchInput extends Input {
|
||||
*/
|
||||
public void setSimulateKeyboard(boolean simulate);
|
||||
|
||||
/**
|
||||
* @return true if key event simulation is enabled, false otherwise.
|
||||
*/
|
||||
public boolean isSimulateKeyboard();
|
||||
|
||||
/**
|
||||
* Set if historic android events should be transmitted, can be used to get better performance and less mem
|
||||
* @see <a href="http://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalX%28int,%20int%29">
|
||||
|
@ -112,6 +112,10 @@ public class IosInputHandler implements TouchInput {
|
||||
this.keyboardEventsEnabled = simulate;
|
||||
}
|
||||
|
||||
public boolean isSimulateKeyboard() {
|
||||
return keyboardEventsEnabled;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setOmitHistoricEvents(boolean dontSendHistory) {
|
||||
this.dontSendHistory = dontSendHistory;
|
||||
|
Loading…
x
Reference in New Issue
Block a user