Files
CMake/Tests/FindLibinput/Test/main.c
2023-10-26 09:20:45 -04:00

14 lines
294 B
C

#include <libinput.h>
#include <stdio.h>
int main(void)
{
struct libinput_interface interface;
interface.open_restricted = 0;
interface.close_restricted = 0;
struct libinput* li;
li = libinput_udev_create_context(&interface, NULL, NULL);
printf("Found Libinput.\n");
return 0;
}