Skip to content

Error compiling #3

@gnomiik

Description

@gnomiik

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions