GHOST/wayland: define BTN event codes manually

This commit is contained in:
Christian Rauch 2021-07-03 00:14:04 +01:00
parent 9182c882fe
commit a069fffcc4
1 changed files with 4 additions and 1 deletions

View File

@ -47,12 +47,15 @@
#include <xkbcommon/xkbcommon.h>
#include <fcntl.h>
#include <linux/input-event-codes.h>
#include <sys/mman.h>
#include <unistd.h>
#include <cstring>
#define BTN_LEFT 0x110
#define BTN_RIGHT 0x111
#define BTN_MIDDLE 0x112
struct buffer_t {
void *data;
size_t size;