cosmic-comp/src/wayland/handlers/tablet_manager.rs

16 lines
477 B
Rust
Raw Normal View History

2023-12-28 13:36:59 -08:00
// SPDX-License-Identifier: GPL-3.0-only
2026-08-11 18:18:02 +02:00
use crate::{shell::focus::target::PointerFocusTarget, state::State};
2024-04-08 16:55:41 -07:00
use smithay::{
backend::input::TabletToolDescriptor, input::pointer::CursorImageStatus,
2026-08-11 18:18:02 +02:00
input::tablet::TabletSeatHandler,
2024-04-08 16:55:41 -07:00
};
impl TabletSeatHandler for State {
2026-08-11 18:18:02 +02:00
type ToolFocus = PointerFocusTarget;
2024-04-08 16:55:41 -07:00
fn tablet_tool_image(&mut self, _tool: &TabletToolDescriptor, _image: CursorImageStatus) {
// TODO display cursor for each tablet tool
}
}