Should be able to open a device
This commit is contained in:
parent
ae0892eec6
commit
857c359e0b
5 changed files with 108 additions and 42 deletions
11
input_dev.h
11
input_dev.h
|
|
@ -9,9 +9,20 @@ typedef enum input_dev_type {
|
|||
input_dev_type_iio,
|
||||
} input_dev_type_t;
|
||||
|
||||
typedef struct uinput_filters {
|
||||
const char* name;
|
||||
} uinput_filters_t;
|
||||
|
||||
typedef struct iio_filters {
|
||||
const char* name;
|
||||
} 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;
|
||||
|
||||
volatile uint32_t crtl_flags;
|
||||
} input_dev_t;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue