From 3cffb0520ea12bd26b05d49213792a7d98f6e791 Mon Sep 17 00:00:00 2001 From: illiliti Date: Wed, 20 May 2026 01:04:41 +0300 Subject: [PATCH] types/keyboard: drop linux-specific header --- types/wlr_keyboard.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: