2024-01-19 09:28:55 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
|
#ifndef LABWC_TOUCH_CONFIG_H
|
|
|
|
|
#define LABWC_TOUCH_CONFIG_H
|
|
|
|
|
|
2025-07-28 01:03:22 -04:00
|
|
|
#include <stdbool.h>
|
2024-04-22 04:58:57 +09:00
|
|
|
#include <wayland-util.h>
|
2024-01-19 09:28:55 +01:00
|
|
|
|
|
|
|
|
struct touch_config_entry {
|
|
|
|
|
char *device_name;
|
|
|
|
|
char *output_name;
|
2024-10-29 19:22:01 +00:00
|
|
|
bool force_mouse_emulation;
|
2024-01-19 09:28:55 +01:00
|
|
|
|
|
|
|
|
struct wl_list link; /* struct rcxml.touch_configs */
|
|
|
|
|
};
|
|
|
|
|
|
2024-01-19 10:07:52 +01:00
|
|
|
struct touch_config_entry *touch_find_config_for_device(char *device_name);
|
|
|
|
|
|
2024-01-19 09:28:55 +01:00
|
|
|
#endif /* LABWC_TOUCH_CONFIG_H */
|