diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-03-09 15:05:12 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-03-17 18:16:14 +0000 |
commit | 9a17200446952f67b10b7801a272b6abdd1ae8b3 (patch) | |
tree | 242489591ded3ee482b2ae492e535309224b09f4 /examples | |
parent | bd6c000d142fe6a8e893f1cdd2d5eb0b9d2ac7b8 (diff) |
types/wlr_keyboard: uniformize events name
Diffstat (limited to 'examples')
-rw-r--r-- | examples/multi-pointer.c | 2 | ||||
-rw-r--r-- | examples/output-layout.c | 2 | ||||
-rw-r--r-- | examples/pointer.c | 2 | ||||
-rw-r--r-- | examples/quads.c | 2 | ||||
-rw-r--r-- | examples/rotation.c | 2 | ||||
-rw-r--r-- | examples/simple.c | 2 | ||||
-rw-r--r-- | examples/tablet.c | 2 | ||||
-rw-r--r-- | examples/touch.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/examples/multi-pointer.c b/examples/multi-pointer.c index d44df2a1..d6189f29 100644 --- a/examples/multi-pointer.c +++ b/examples/multi-pointer.c @@ -185,7 +185,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, diff --git a/examples/output-layout.c b/examples/output-layout.c index bc5cb7e9..a057ca78 100644 --- a/examples/output-layout.c +++ b/examples/output-layout.c @@ -183,7 +183,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, diff --git a/examples/pointer.c b/examples/pointer.c index af14178c..d22047de 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -228,7 +228,7 @@ static void handle_tablet_tool_axis(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->state; - 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, diff --git a/examples/quads.c b/examples/quads.c index d74ef25e..88c59f7c 100644 --- a/examples/quads.c +++ b/examples/quads.c @@ -129,7 +129,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, diff --git a/examples/rotation.c b/examples/rotation.c index cc1cfbb5..a2e868af 100644 --- a/examples/rotation.c +++ b/examples/rotation.c @@ -134,7 +134,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, diff --git a/examples/simple.c b/examples/simple.c index 94f3abe0..e46093be 100644 --- a/examples/simple.c +++ b/examples/simple.c @@ -109,7 +109,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, diff --git a/examples/tablet.c b/examples/tablet.c index dd48983d..05fbc773 100644 --- a/examples/tablet.c +++ b/examples/tablet.c @@ -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, diff --git a/examples/touch.c b/examples/touch.c index ae2dcf8f..5984c500 100644 --- a/examples/touch.c +++ b/examples/touch.c @@ -172,7 +172,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, |