From b040838d6af5698348c16f7cf9b39b4524b4ad44 Mon Sep 17 00:00:00 2001 From: ARDiDo <90479315+ARDiDo@users.noreply.github.com> Date: Fri, 15 Oct 2021 12:27:52 -0400 Subject: [PATCH] Fix build errors --- include/config/libinput.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/config/libinput.h diff --git a/include/config/libinput.h b/include/config/libinput.h new file mode 100644 index 00000000..e46610c6 --- /dev/null +++ b/include/config/libinput.h @@ -0,0 +1,30 @@ +#ifndef __LABWC_LIBINPUT_H +#define __LABWC_LIBINPUT_H + +#include +#include +#include + +enum device_type { + DEFAULT_DEVICE, + TOUCH_DEVICE, + NON_TOUCH_DEVICE, +}; + +struct libinput_category { + enum device_type type; + char *name; + struct wl_list link; + float pointer_speed; + int natural_scroll; + int left_handed; + enum libinput_config_tap_state tap; + enum libinput_config_accel_profile accel_profile; + enum libinput_config_middle_emulation_state middle_emu; + enum libinput_config_dwt_state dwt; +}; + +enum device_type get_device_type(const char *s); +struct libinput_category *libinput_category_create(); + +#endif /* __LABWC_LIBINPUT_H */ -- 2.52.0