include <linux/input.h> like the Linux version does

This commit is contained in:
Matthieu Herrb 2023-07-06 18:55:26 +02:00
parent 91fd648adb
commit a25ec8f1d5

View file

@ -24,6 +24,9 @@
#ifndef LIBEVDEV_H
#define LIBEVDEV_H
#include <linux/input.h>
extern int libevdev_event_code_from_name(unsigned int type, const char *name);
extern const char * libevdev_event_code_get_name(unsigned int type, unsigned int code);
#endif