data class EmulateTouchFromMouseEventRequest
Request object containing input parameters for the InputDomain.emulateTouchFromMouseEvent command.
<init> |
Request object containing input parameters for the InputDomain.emulateTouchFromMouseEvent command. EmulateTouchFromMouseEventRequest(type: String, x: Int, y: Int, button: MouseButton, timestamp: TimeSinceEpoch? = null, deltaX: Double? = null, deltaY: Double? = null, modifiers: Int? = null, clickCount: Int? = null) |
button |
Mouse button. Only "none", "left", "right" are supported. val button: MouseButton |
clickCount |
Number of times the mouse button was clicked (default: 0). val clickCount: Int? |
deltaX |
X delta in DIP for mouse wheel event (default: 0). val deltaX: Double? |
deltaY |
Y delta in DIP for mouse wheel event (default: 0). val deltaY: Double? |
modifiers |
Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). val modifiers: Int? |
timestamp |
Time at which the event occurred (default: current time). val timestamp: TimeSinceEpoch? |
type |
Type of the mouse event. val type: String |
x |
X coordinate of the mouse pointer in DIP. val x: Int |
y |
Y coordinate of the mouse pointer in DIP. val y: Int |