zwlr_virtual_pointer_v1¤
wayland.zwlr_virtual_pointer_v1 ¤
Virtual pointer
This protocol allows clients to emulate a physical pointer device. The requests are mostly mirror opposites of those specified in wl_pointer.
Methods:
-
motion
–Pointer relative motion event
-
motion_absolute
–Pointer absolute motion event
-
button
–Button event
-
axis
–Axis event
-
frame
–End of a pointer event sequence
-
axis_source
–Axis source event
-
axis_stop
–Axis stop event
-
axis_discrete
–Axis click event
-
destroy
–Destroy the virtual pointer object
error ¤
-
invalid_axis
–Client sent invalid axis enumeration value -
invalid_axis_source
–Client sent invalid axis source enumeration value
motion ¤
motion_absolute ¤
Pointer absolute motion event
The pointer has moved in an absolute coordinate frame.
Value of x can range from 0 to x_extent, value of y can range from 0 to y_extent.
Parameters:
button ¤
axis ¤
frame ¤
frame() -> None
End of a pointer event sequence
Indicates the set of events that logically belong together.
axis_source ¤
axis_source(axis_source: axis_source) -> None
Axis source event
Source information for scroll and other axis.
Parameters:
-
axis_source
¤axis_source
) –Source of the axis event
axis_stop ¤
axis_discrete ¤
Axis click event
Discrete step information for scroll and other axes.
This event allows the client to extend data normally sent using the axis event with discrete value.
Parameters: