Documentation for <wlr/interfaces/wlr_keyboard.h>

Back to index

Table of contents

wlr_keyboard_finish()

void wlr_keyboard_finish(​struct wlr_keyboard *keyboard);

Cleans up all of the resources owned by the struct wlr_keyboard.

struct wlr_keyboard_impl

struct wlr_keyboard_impl {
	const char *name;
	void (*led_update)(​struct wlr_keyboard *keyboard, uint32_t leds);
};

wlr_keyboard_init()

void wlr_keyboard_init(​struct wlr_keyboard *keyboard, const struct wlr_keyboard_impl *impl, const char *name);

wlr_keyboard_notify_key()

void wlr_keyboard_notify_key(​struct wlr_keyboard *keyboard, struct wlr_keyboard_key_event *event);

wlr_keyboard_notify_modifiers()

void wlr_keyboard_notify_modifiers(​struct wlr_keyboard *keyboard, uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked, uint32_t group);