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 4684 of file wayland-client-protocol.h.
#define WL_KEYBOARD_KEY_SINCE_VERSION 1 |
Definition at line 4692 of file wayland-client-protocol.h.
#define WL_KEYBOARD_KEYMAP_SINCE_VERSION 1 |
Definition at line 4680 of file wayland-client-protocol.h.
#define WL_KEYBOARD_LEAVE_SINCE_VERSION 1 |
Definition at line 4688 of file wayland-client-protocol.h.
#define WL_KEYBOARD_MODIFIERS_SINCE_VERSION 1 |
Definition at line 4696 of file wayland-client-protocol.h.
#define WL_KEYBOARD_RELEASE_SINCE_VERSION 3 |
Definition at line 4705 of file wayland-client-protocol.h.
#define WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION 4 |
Definition at line 4700 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 4544 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 4524 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 4668 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 4729 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 4716 of file wayland-client-protocol.h.
|
inlinestatic |
Definition at line 4738 of file wayland-client-protocol.h.
References NULL, and WL_KEYBOARD_RELEASE.
|
inlinestatic |
Definition at line 4709 of file wayland-client-protocol.h.