Product SiteDocumentation Site

A.13. wl_input_device - input device group

A group of keyboards and pointer devices (mice, for example). This object is published as a global during start up, or when such a device is hot plugged. A input_device group typically has a pointer and maintains a keyboard_focus and a pointer_focus.

A.13.1. Requests provided by wl_input_device

A.13.1.1. wl_input_device::attach - set the pointer image

Set the pointer's image. This request only takes effect if the pointer focus for this device is one of the requesting clients surfaces.
wl_input_device::attach arguments
time
Type: uint
buffer
Type: object
hotspot_x
Type: int
hotspot_y
Type: int