Class EmulateTouchFromMouseEventCommandSettings
Emulates touch event from the mouse event parameters.
public sealed class EmulateTouchFromMouseEventCommandSettings : ICommand
- Inheritance
-
EmulateTouchFromMouseEventCommandSettings
- Implements
- Inherited Members
Properties
Button
Mouse button. Only "none", "left", "right" are supported.
[JsonPropertyName("button")]
public MouseButton Button { get; set; }
Property Value
ClickCount
Number of times the mouse button was clicked (default: 0).
[JsonPropertyName("clickCount")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? ClickCount { get; set; }
Property Value
- long?
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
DeltaX
X delta in DIP for mouse wheel event (default: 0).
[JsonPropertyName("deltaX")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? DeltaX { get; set; }
Property Value
DeltaY
Y delta in DIP for mouse wheel event (default: 0).
[JsonPropertyName("deltaY")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? DeltaY { get; set; }
Property Value
Modifiers
Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).
[JsonPropertyName("modifiers")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Modifiers { get; set; }
Property Value
- long?
Timestamp
Time at which the event occurred (default: current time).
[JsonPropertyName("timestamp")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Timestamp { get; set; }
Property Value
Type
Type of the mouse event.
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
X
X coordinate of the mouse pointer in DIP.
[JsonPropertyName("x")]
public long X { get; set; }
Property Value
Y
Y coordinate of the mouse pointer in DIP.
[JsonPropertyName("y")]
public long Y { get; set; }