diff --git a/src/libinput.c b/src/libinput.c index c507ab7..dd36426 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -267,7 +267,6 @@ xf86libinput_ptr_ctl(DeviceIntPtr dev, PtrCtrl *ctl) { } - static void init_button_map(unsigned char *btnmap, size_t size) { @@ -331,7 +330,6 @@ xf86libinput_init_pointer(InputInfoPtr pInfo) init_button_labels(btnlabels, ARRAY_SIZE(btnlabels)); init_axis_labels(axislabels, ARRAY_SIZE(axislabels)); - InitPointerDeviceStruct((DevicePtr)dev, btnmap, nbuttons, btnlabels, @@ -653,7 +651,6 @@ xf86libinput_handle_event(struct libinput_event *event) } } - static void xf86libinput_read_input(InputInfoPtr pInfo) { @@ -1043,8 +1040,6 @@ _X_EXPORT XF86ModuleData libinputModuleData = { .teardown = NULL }; - - /* Property support */ /* Tapping enabled/disabled: BOOL, 1 value */ @@ -1527,7 +1522,6 @@ LibinputInitProperty(DeviceIntPtr dev) XISetDevicePropertyDeletable(dev, prop_device, FALSE); - prop_product_id = MakeAtom(XI_PROP_PRODUCT_ID, strlen(XI_PROP_PRODUCT_ID), TRUE);