diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-02 20:13:10 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-02 20:31:19 -0400 |
commit | 53021f8ed428a1a023769339e6162bfebbe4c7a2 (patch) | |
tree | e7b29dc916ba6e35d8adc8e8225ba3b4e24f53ad /include/rootston/pointer.h | |
parent | 80b4a2f64c51de4a257182e381977710a5fbeb10 (diff) |
rootston: break up input.h
Diffstat (limited to 'include/rootston/pointer.h')
-rw-r--r-- | include/rootston/pointer.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/rootston/pointer.h b/include/rootston/pointer.h new file mode 100644 index 00000000..b3fc8c3a --- /dev/null +++ b/include/rootston/pointer.h @@ -0,0 +1,16 @@ +#ifndef _ROOTSTON_POINTER_H +#define _ROOTSTON_POINTER_H + +#include <wayland-server.h> +#include <wlr/types/wlr_input_device.h> + +struct roots_pointer { + struct roots_input *input; + struct wlr_input_device *device; + struct wl_list link; +}; + +void pointer_add(struct wlr_input_device *device, struct roots_input *input); +void pointer_remove(struct wlr_input_device *device, struct roots_input *input); + +#endif |