SDL
2.0
|
Data Structures | |
struct | wl_seat_listener |
Macros | |
#define | WL_SEAT_CAPABILITIES_SINCE_VERSION 1 |
#define | WL_SEAT_NAME_SINCE_VERSION 2 |
#define | WL_SEAT_GET_POINTER_SINCE_VERSION 1 |
#define | WL_SEAT_GET_KEYBOARD_SINCE_VERSION 1 |
#define | WL_SEAT_GET_TOUCH_SINCE_VERSION 1 |
#define | WL_SEAT_RELEASE_SINCE_VERSION 5 |
Enumerations | |
enum | wl_seat_capability { WL_SEAT_CAPABILITY_POINTER = 1, WL_SEAT_CAPABILITY_KEYBOARD = 2, WL_SEAT_CAPABILITY_TOUCH = 4 } |
Functions | |
static int | wl_seat_add_listener (struct wl_seat *wl_seat, const struct wl_seat_listener *listener, void *data) |
static void | wl_seat_set_user_data (struct wl_seat *wl_seat, void *user_data) |
static void * | wl_seat_get_user_data (struct wl_seat *wl_seat) |
static void | wl_seat_destroy (struct wl_seat *wl_seat) |
static struct wl_pointer * | wl_seat_get_pointer (struct wl_seat *wl_seat) |
static struct wl_keyboard * | wl_seat_get_keyboard (struct wl_seat *wl_seat) |
static struct wl_touch * | wl_seat_get_touch (struct wl_seat *wl_seat) |
static void | wl_seat_release (struct wl_seat *wl_seat) |
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.
#define WL_SEAT_CAPABILITIES_SINCE_VERSION 1 |
Definition at line 3850 of file wayland-client-protocol.h.
#define WL_SEAT_GET_KEYBOARD_SINCE_VERSION 1 |
Definition at line 3863 of file wayland-client-protocol.h.
#define WL_SEAT_GET_POINTER_SINCE_VERSION 1 |
Definition at line 3859 of file wayland-client-protocol.h.
#define WL_SEAT_GET_TOUCH_SINCE_VERSION 1 |
Definition at line 3867 of file wayland-client-protocol.h.
#define WL_SEAT_NAME_SINCE_VERSION 2 |
Definition at line 3854 of file wayland-client-protocol.h.
#define WL_SEAT_RELEASE_SINCE_VERSION 5 |
Definition at line 3871 of file wayland-client-protocol.h.
enum wl_seat_capability |
seat capability bitmask
This is a bitmask of capabilities this seat has; if a member is set, then it is present on the seat.
Enumerator | |
---|---|
WL_SEAT_CAPABILITY_POINTER | the seat has pointer devices |
WL_SEAT_CAPABILITY_KEYBOARD | the seat has one or more keyboards |
WL_SEAT_CAPABILITY_TOUCH | the seat has touch devices |
Definition at line 3763 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 3835 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 3895 of file wayland-client-protocol.h.
|
static |
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, or has had the keyboard capability in the past. It is a protocol violation to issue this request on a seat that has never had the keyboard capability.
Definition at line 3934 of file wayland-client-protocol.h.
References NULL, wl_keyboard_interface, and WL_SEAT_GET_KEYBOARD.
|
static |
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, or has had the pointer capability in the past. It is a protocol violation to issue this request on a seat that has never had the pointer capability.
Definition at line 3912 of file wayland-client-protocol.h.
References NULL, wl_pointer_interface, and WL_SEAT_GET_POINTER.
|
static |
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, or has had the touch capability in the past. It is a protocol violation to issue this request on a seat that has never had the touch capability.
Definition at line 3956 of file wayland-client-protocol.h.
References NULL, WL_SEAT_GET_TOUCH, and wl_touch_interface.
|
inlinestatic |
Definition at line 3882 of file wayland-client-protocol.h.
|
inlinestatic |
Using this request a client can tell the server that it is not going to use the seat object anymore.
Definition at line 3973 of file wayland-client-protocol.h.
References WL_SEAT_RELEASE.
Definition at line 3875 of file wayland-client-protocol.h.