mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
Use libxkbcommon for mapping keycodes to keysyms
This commit is contained in:
parent
c8c3734ef9
commit
94adf6cb9e
4 changed files with 85 additions and 120 deletions
|
|
@ -54,8 +54,10 @@ display_run(struct display *d);
|
|||
|
||||
enum {
|
||||
WINDOW_MODIFIER_SHIFT = 0x01,
|
||||
WINDOW_MODIFIER_ALT = 0x02,
|
||||
WINDOW_MODIFIER_LOCK = 0x02,
|
||||
WINDOW_MODIFIER_CONTROL = 0x04,
|
||||
WINDOW_MODIFIER_ALT = 0x08,
|
||||
WINDOW_MODIFIER_MOD2 = 0x10,
|
||||
};
|
||||
|
||||
typedef void (*window_resize_handler_t)(struct window *window, void *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue