diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-14 11:40:03 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-14 11:40:03 -0400 |
commit | d6905f86cb9d430e0ba05c6a066ed350761116d1 (patch) | |
tree | 33387ebd6c8993203c408334c691e01439615426 /backend/libinput/touch.c | |
parent | 7dfc2c28f1870a38357d6adbb48040151f3166b1 (diff) |
Allocate wlr_touch devices
Diffstat (limited to 'backend/libinput/touch.c')
-rw-r--r-- | backend/libinput/touch.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/backend/libinput/touch.c b/backend/libinput/touch.c new file mode 100644 index 00000000..55e8609a --- /dev/null +++ b/backend/libinput/touch.c @@ -0,0 +1,15 @@ +#include <stdlib.h> +#include <assert.h> +#include <libinput.h> +#include <wlr/session.h> +#include <wlr/types.h> +#include <wlr/common/list.h> +#include "backend/libinput.h" +#include "common/log.h" +#include "types.h" + +struct wlr_touch *wlr_libinput_touch_create( + struct libinput_device *device) { + assert(device); + return wlr_touch_create(NULL, NULL); +} |