data class EmulateTouchFromMouseEventRequest
(source)
Represents request frame that can be used with Input.emulateTouchFromMouseEvent method call.
Emulates touch event from the mouse event parameters.
EmulateTouchFromMouseEventRequest(type: String, x: Int, y: Int, button: String, timestamp: TimeSinceEpoch? = null, deltaX: Double? = null, deltaY: Double? = null, modifiers: Int? = null, clickCount: Int? = null)
Represents request frame that can be used with Input.emulateTouchFromMouseEvent method call. |
val button: String
Mouse button. |
|
val clickCount: Int?
Number of times the mouse button was clicked (default: 0). |
|
val deltaX: Double?
X delta in DIP for mouse wheel event (default: 0). |
|
val deltaY: Double?
Y delta in DIP for mouse wheel event (default: 0). |
|
val modifiers: Int?
Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). |
|
val timestamp: TimeSinceEpoch?
Time at which the event occurred (default: current time). |
|
val type: String
Type of the mouse event. |
|
val x: Int
X coordinate of the mouse pointer in DIP. |
|
val y: Int
Y coordinate of the mouse pointer in DIP. |