mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
parent
c8284176db
commit
1442d4e688
2 changed files with 6 additions and 0 deletions
|
@ -392,6 +392,7 @@ static void seat_update_capabilities(struct sway_seat *seat) {
|
|||
caps |= WL_SEAT_CAPABILITY_POINTER;
|
||||
break;
|
||||
case WLR_INPUT_DEVICE_TABLET_PAD:
|
||||
case WLR_INPUT_DEVICE_SWITCH:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -513,6 +514,9 @@ void seat_configure_device(struct sway_seat *seat,
|
|||
case WLR_INPUT_DEVICE_TABLET_PAD:
|
||||
wlr_log(WLR_DEBUG, "TODO: configure tablet pad");
|
||||
break;
|
||||
case WLR_INPUT_DEVICE_SWITCH:
|
||||
wlr_log(WLR_DEBUG, "TODO: configure switch device");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -93,6 +93,8 @@ static const char *ipc_json_device_type_description(struct sway_input_device *de
|
|||
return "tablet_tool";
|
||||
case WLR_INPUT_DEVICE_TABLET_PAD:
|
||||
return "tablet_pad";
|
||||
case WLR_INPUT_DEVICE_SWITCH:
|
||||
return "switch";
|
||||
}
|
||||
return "unknown";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue