Interface TouchInput

All Superinterfaces:
Input
All Known Implementing Classes:
AndroidTouchInput, AndroidTouchInput14, IosInputHandler

public interface TouchInput extends Input
A specific API for interfacing with smartphone touch devices
  • Field Details

  • Method Details

    • setSimulateMouse

      void setSimulateMouse(boolean simulate)
      Set if mouse events should be generated
      Parameters:
      simulate - if mouse events should be generated
    • isSimulateMouse

      boolean isSimulateMouse()
      Returns:
      true if mouse event simulation is enabled, false otherwise.
    • setSimulateKeyboard

      void setSimulateKeyboard(boolean simulate)
      Set if keyboard events should be generated
      Parameters:
      simulate - if keyboard events should be generated
    • isSimulateKeyboard

      boolean isSimulateKeyboard()
      Returns:
      true if key event simulation is enabled, false otherwise.
    • setOmitHistoricEvents

      void setOmitHistoricEvents(boolean dontSendHistory)
      Set if historic android events should be transmitted, can be used to get better performance and less mem
      Parameters:
      dontSendHistory - turn of historic events if true, false else and default
      See Also: