{
switch (wlr_input_device->type) {
case WLR_INPUT_DEVICE_TOUCH:
- case WLR_INPUT_DEVICE_TABLET_TOOL:
+ case WLR_INPUT_DEVICE_TABLET:
return LAB_LIBINPUT_DEVICE_TOUCH;
default:
break;
caps |= WL_SEAT_CAPABILITY_KEYBOARD;
break;
case WLR_INPUT_DEVICE_POINTER:
- case WLR_INPUT_DEVICE_TABLET_TOOL:
+ case WLR_INPUT_DEVICE_TABLET:
caps |= WL_SEAT_CAPABILITY_POINTER;
break;
case WLR_INPUT_DEVICE_TOUCH:
case WLR_INPUT_DEVICE_TOUCH:
input = new_touch(seat, device);
break;
- case WLR_INPUT_DEVICE_TABLET_TOOL:
+ case WLR_INPUT_DEVICE_TABLET:
input = new_tablet(seat, device);
break;
case WLR_INPUT_DEVICE_TABLET_PAD:
configure_libinput(input->wlr_input_device);
map_touch_to_output(seat, input->wlr_input_device);
break;
- case WLR_INPUT_DEVICE_TABLET_TOOL:
+ case WLR_INPUT_DEVICE_TABLET:
map_input_to_output(seat, input->wlr_input_device, rc.tablet.output_name);
break;
default:
case WLR_INPUT_DEVICE_TOUCH:
map_touch_to_output(seat, input->wlr_input_device);
break;
- case WLR_INPUT_DEVICE_TABLET_TOOL:
+ case WLR_INPUT_DEVICE_TABLET:
map_input_to_output(seat, input->wlr_input_device, rc.tablet.output_name);
break;
default: