SDL
2.0
|
Data Structures | |
struct | wl_keyboard_listener |
Macros | |
#define | WL_KEYBOARD_KEYMAP_SINCE_VERSION 1 |
#define | WL_KEYBOARD_ENTER_SINCE_VERSION 1 |
#define | WL_KEYBOARD_LEAVE_SINCE_VERSION 1 |
#define | WL_KEYBOARD_KEY_SINCE_VERSION 1 |
#define | WL_KEYBOARD_MODIFIERS_SINCE_VERSION 1 |
#define | WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION 4 |
#define | WL_KEYBOARD_RELEASE_SINCE_VERSION 3 |
Enumerations | |
enum | wl_keyboard_keymap_format { WL_KEYBOARD_KEYMAP_FORMAT_NO_KEYMAP = 0, WL_KEYBOARD_KEYMAP_FORMAT_XKB_V1 = 1 } |
enum | wl_keyboard_key_state { WL_KEYBOARD_KEY_STATE_RELEASED = 0, WL_KEYBOARD_KEY_STATE_PRESSED = 1 } |
Functions | |
static int | wl_keyboard_add_listener (struct wl_keyboard *wl_keyboard, const struct wl_keyboard_listener *listener, void *data) |
static void | wl_keyboard_set_user_data (struct wl_keyboard *wl_keyboard, void *user_data) |
static void * | wl_keyboard_get_user_data (struct wl_keyboard *wl_keyboard) |
static void | wl_keyboard_destroy (struct wl_keyboard *wl_keyboard) |
static void | wl_keyboard_release (struct wl_keyboard *wl_keyboard) |
The wl_keyboard interface represents one or more keyboards associated with a seat.
#define WL_KEYBOARD_ENTER_SINCE_VERSION 1 |
Definition at line 4646 of file wayland-client-protocol.h.
#define WL_KEYBOARD_KEY_SINCE_VERSION 1 |
Definition at line 4654 of file wayland-client-protocol.h.
#define WL_KEYBOARD_KEYMAP_SINCE_VERSION 1 |
Definition at line 4642 of file wayland-client-protocol.h.
#define WL_KEYBOARD_LEAVE_SINCE_VERSION 1 |
Definition at line 4650 of file wayland-client-protocol.h.
#define WL_KEYBOARD_MODIFIERS_SINCE_VERSION 1 |
Definition at line 4658 of file wayland-client-protocol.h.
#define WL_KEYBOARD_RELEASE_SINCE_VERSION 3 |
Definition at line 4667 of file wayland-client-protocol.h.
#define WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION 4 |
Definition at line 4662 of file wayland-client-protocol.h.
physical key state
Describes the physical state of a key that produced the key event.
Enumerator | |
---|---|
WL_KEYBOARD_KEY_STATE_RELEASED | key is not pressed |
WL_KEYBOARD_KEY_STATE_PRESSED | key is pressed |
Definition at line 4506 of file wayland-client-protocol.h.
keyboard mapping format
This specifies the format of the keymap provided to the client with the wl_keyboard.keymap event.
Definition at line 4486 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 4630 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 4691 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 4678 of file wayland-client-protocol.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 4671 of file wayland-client-protocol.h.