| 1 | #include <libinput.h> |
| 2 | #include <stdio.h> |
| 3 | |
| 4 | int main(void) |
| 5 | { |
| 6 | struct libinput_interface interface; |
| 7 | interface.open_restricted = 0; |
| 8 | interface.close_restricted = 0; |
| 9 | struct libinput* li; |
| 10 | li = libinput_udev_create_context(&interface, NULL, NULL); |
| 11 | printf("Found Libinput.\n"); |
| 12 | return 0; |
| 13 | } |