mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
types/wlr_keyboard: uniformize events name
This commit is contained in:
parent
bd6c000d14
commit
9a17200446
18 changed files with 23 additions and 23 deletions
|
|
@ -261,7 +261,7 @@ static void new_output_notify(struct wl_listener *listener, void *data) {
|
|||
static void keyboard_key_notify(struct wl_listener *listener, void *data) {
|
||||
struct sample_keyboard *keyboard = wl_container_of(listener, keyboard, key);
|
||||
struct sample_state *sample = keyboard->sample;
|
||||
struct wlr_event_keyboard_key *event = data;
|
||||
struct wlr_keyboard_key_event *event = data;
|
||||
uint32_t keycode = event->keycode + 8;
|
||||
const xkb_keysym_t *syms;
|
||||
int nsyms = xkb_state_key_get_syms(keyboard->device->keyboard->xkb_state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue