This is the error I receive, thank you for your time and your reply
keyboard_mouse.c: In function ‘main’:
keyboard_mouse.c:233:25: error: storage size of ‘setup_data’ isn’t known
struct uinput_setup setup_data;
^
keyboard_mouse.c:240:41: error: ‘UI_DEV_SETUP’ undeclared (first use in this function)
int ioctl_result = ioctl(output_fd, UI_DEV_SETUP, &setup_data);
^
keyboard_mouse.c:240:41: note: each undeclared identifier is reported only once for each function it appears in
This is the error I receive, thank you for your time and your reply
keyboard_mouse.c: In function ‘main’:
keyboard_mouse.c:233:25: error: storage size of ‘setup_data’ isn’t known
struct uinput_setup setup_data;
^
keyboard_mouse.c:240:41: error: ‘UI_DEV_SETUP’ undeclared (first use in this function)
int ioctl_result = ioctl(output_fd, UI_DEV_SETUP, &setup_data);
^
keyboard_mouse.c:240:41: note: each undeclared identifier is reported only once for each function it appears in