GHOST/wayland: define BTN event codes manually
This commit is contained in:
parent
9182c882fe
commit
a069fffcc4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue