diff --git a/types/wlr_keyboard.c b/types/wlr_keyboard.c index adc705db5..a4d436c97 100644 --- a/types/wlr_keyboard.c +++ b/types/wlr_keyboard.c @@ -1,5 +1,4 @@ #include -#include #include #include #include @@ -323,6 +322,10 @@ bool wlr_keyboard_keymaps_match(struct xkb_keymap *km1, return result; } +#define BTN_LEFT 0x110 +#define BTN_RIGHT 0x111 +#define BTN_MIDDLE 0x112 + uint32_t wlr_keyboard_keysym_to_pointer_button(xkb_keysym_t keysym) { switch (keysym) { case XKB_KEY_Pointer_Button1: