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
|
|
@ -36,7 +36,7 @@ void handle_keyboard_key(struct libinput_event *event,
|
|||
struct wlr_keyboard *kb) {
|
||||
struct libinput_event_keyboard *kbevent =
|
||||
libinput_event_get_keyboard_event(event);
|
||||
struct wlr_event_keyboard_key wlr_event = { 0 };
|
||||
struct wlr_keyboard_key_event wlr_event = { 0 };
|
||||
wlr_event.time_msec =
|
||||
usec_to_msec(libinput_event_keyboard_get_time_usec(kbevent));
|
||||
wlr_event.keycode = libinput_event_keyboard_get_key(kbevent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue