The bbcr broke off my compilation help plz

This commit is contained in:
Denis 2023-12-06 21:05:02 +01:00
parent 91a639852f
commit 37c23e1b62
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
28 changed files with 1042 additions and 1256 deletions

View file

@ -1,6 +1,5 @@
#pragma once
#include "queue.h"
#include "message.h"
#include "logic.h"
@ -15,29 +14,25 @@ typedef enum input_dev_type {
} input_dev_type_t;
typedef struct uinput_filters {
const char* name;
const char name[256];
} uinput_filters_t;
typedef struct iio_filters {
const char* name;
const char name[256];
} iio_filters_t;
typedef struct input_dev {
input_dev_type_t dev_type;
const uinput_filters_t* ev_filters;
const iio_filters_t* iio_filters;
union {
uinput_filters_t ev;
iio_filters_t iio;
} filters;
ev_input_filter_t ev_input_filter_fn;
logic_t *logic;
} input_dev_t;
void *input_dev_thread_func(void *ptr);
int open_and_hide_input(void);
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);