wlmaker
Loading...
Searching...
No Matches
pointer.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMAKER_POINTER_H__
21#define __WLMAKER_POINTER_H__
22
23#include <libbase/libbase.h>
24#include <libbase/plist.h>
25#include <libinput.h>
26#include <stdbool.h>
27
28struct wlr_input_device;
29
30#ifdef __cplusplus
31extern "C" {
32#endif // __cplusplus
33
37 struct {
39 bool enabled;
43 enum libinput_config_click_method click_method;
47 enum libinput_config_scroll_method scroll_method;
51};
52
55
65 struct wlr_input_device *wlr_input_device_ptr,
66 const struct wlmim_pointer_param *param_ptr);
67
73void wlmim_pointer_destroy(wlmim_pointer_t *pointer_ptr);
74
76bool wlmim_pointer_enabled(wlmim_pointer_t *pointer_ptr);
77
87 bspl_dict_t *config_dict_ptr,
88 struct wlmim_pointer_param *param_ptr);
89
91extern const bs_test_set_t wlmim_pointer_test_set;
92
93#ifdef __cplusplus
94} // extern "C"
95#endif // __cplusplus
96
97#endif // __WLMAKER_POINTER_H__
98/* == End of pointer.h ================= */
void wlmim_pointer_destroy(wlmim_pointer_t *pointer_ptr)
Definition pointer.c:146
wlmim_pointer_t * wlmim_pointer_create(struct wlr_input_device *wlr_input_device_ptr, const struct wlmim_pointer_param *param_ptr)
Definition pointer.c:131
const bs_test_set_t wlmim_pointer_test_set
Definition pointer.c:297
bool wlmim_pointer_parse_config(bspl_dict_t *config_dict_ptr, struct wlmim_pointer_param *param_ptr)
Definition pointer.c:152
bool wlmim_pointer_enabled(wlmim_pointer_t *pointer_ptr)
Definition pointer.c:163
Definition pointer.c:37
struct wlr_input_device * wlr_input_device_ptr
Definition pointer.c:39
Definition pointer.h:35
bool enabled
Definition pointer.h:39
struct wlmim_pointer_param::@5 touchpad
bool natural_scrolling
Definition pointer.h:49
bool tap_to_click
Definition pointer.h:45
enum libinput_config_click_method click_method
Definition pointer.h:43
bool disable_while_typing
Definition pointer.h:41
enum libinput_config_scroll_method scroll_method
Definition pointer.h:47