WIP: input device

This commit is contained in:
Denis Benato 2023-11-02 16:12:02 +01:00
parent 75abf3c6e8
commit d6aee2c63d
9 changed files with 151 additions and 58 deletions

View file

@ -5,8 +5,9 @@
#define INPUT_DEV_CTRL_FLAG_EXIT 0x00000001U
typedef struct input_dev {
pthread_mutex_t ctrl_mutex;
uint32_t crtl_flags;
volatile uint32_t crtl_flags;
} input_dev_t;
void *input_dev_thread_func(void *ptr);
int open_and_hide_input();