Allocate wlr_touch devices

This commit is contained in:
Drew DeVault 2017-06-14 11:40:03 -04:00
parent 7dfc2c28f1
commit d6905f86cb
11 changed files with 104 additions and 14 deletions

15
backend/libinput/touch.c Normal file
View file

@ -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);
}