Struct wayland_client::wayland::seat::WlSeat
[−]
[src]
pub struct WlSeat { // some fields omitted }
group of input devices
A seat is a group of keyboards, pointer and touch devices. This object is published as a global during start up, or when such a device is hot plugged. A seat typically has a pointer and maintains a keyboard focus and a pointer focus.
Methods
impl WlSeat
fn get_pointer(&self) -> WlPointer
return pointer object
The ID provided will be initialized to the wl_pointer interface for this seat.
This request only takes effect if the seat has the pointer capability.
fn get_keyboard(&self) -> WlKeyboard
return keyboard object
The ID provided will be initialized to the wl_keyboard interface for this seat.
This request only takes effect if the seat has the keyboard capability.
fn get_touch(&self) -> WlTouch
return touch object
The ID provided will be initialized to the wl_touch interface for this seat.
This request only takes effect if the seat has the touch capability.
fn release(self)
release the seat object
Using this request client can tell the server that it is not going to use the seat object anymore.
Requires interface version >= 5
.