Examples based on libevdev’s docs.
The examples require libevdev installed.
Compile with
gcc `pkg-config --cflags libevdev` example_name.c `pkg-config --libs libevdev` -o example_name
Examples based on libevdev’s docs.
The examples require libevdev installed.
Compile with
gcc `pkg-config --cflags libevdev` example_name.c `pkg-config --libs libevdev` -o example_name