added setOmitHistoricEvents(bool) to TouchInput

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7641 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
kim..ng 14 years ago
parent 42d0c8b8fd
commit 5135400a9f
  1. 13
      engine/src/core/com/jme3/input/TouchInput.java

@ -68,17 +68,24 @@ public interface TouchInput extends Input {
/**
* Set whether mouse events should be generated
* Set if mouse events should be generated
*
* @param simulate if mouse events should be generated
*/
public void setSimulateMouse(boolean simulate);
/**
* Set whether keyboard events should be generated
* Set if keyboard events should be generated
*
* @param simulate if keyboard events should be generated
*/
public void setSimulateKeyboard(boolean simulate);
/**
* Set if historic android events should be transmitted, can be used to get better performance and less mem
* see: <link>http://developer.android.com/reference/android/view/MotionEvent.html#getHistoricalX%28int,%20int%29</link>
* @param dontSendHistory turn of historic events if true, false else and default
*/
public void setOmitHistoricEvents(boolean dontSendHistory);
}
Loading…
Cancel
Save