types/keyboard: drop linux-specific header

This commit is contained in:
illiliti 2026-05-20 01:04:41 +03:00
parent 91ca5839bd
commit 3cffb0520e

View file

@ -1,5 +1,4 @@
#include <assert.h>
#include <linux/input-event-codes.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
@ -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: