Product SiteDocumentation Site

A.13.2. Events provided by wl_input_device events

A.13.2.1. wl_input_device::motion - pointer motion event

Notification of pointer location change. The arguments surface_[xy] are the location relative to the focused surface.
wl_input_device::motion arguments
time
Type: uint
surface_x
Type: int
surface_y
Type: int