This commit is contained in:
Denis 2023-12-08 16:09:43 +01:00
parent 1a851278fd
commit ce15239ebc
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
6 changed files with 44 additions and 37 deletions

View file

@ -7,6 +7,7 @@
#undef IGNORE_INPUT_SCAN
#define MAX_COLLECTED_EVDEV_EVENTS 16
#define MAX_INPUT_DEVICES 8
typedef struct evdev_collected {
struct input_event ev[MAX_COLLECTED_EVDEV_EVENTS];
@ -46,6 +47,14 @@ typedef struct input_dev {
} input_dev_t;
typedef struct input_dev_composite {
const input_dev_t* dev[MAX_INPUT_DEVICES];
size_t dev_count;
} input_dev_composite_t;
uint32_t input_filter_imu_identity(struct input_event* events, size_t* size, uint32_t* count, uint32_t* flags);
uint32_t input_filter_identity(struct input_event* events, size_t* size, uint32_t* count, uint32_t* flags);