Smithay / client-toolkit

Smithay's toolkit for writing wayland clients
MIT License
283 stars 79 forks source link

Support for graphics tablets #139

Open DorianRudolph opened 4 years ago

DorianRudolph commented 4 years ago

It seems like graphics tablets are currently unsupported. There is a protocol extension https://docs.rs/wayland-protocols/0.27.0/wayland_protocols/unstable/tablet/index.html

lehmanju commented 4 years ago

As pointed out in https://github.com/rust-windowing/winit/issues/99 this needs to be implemented here first. I will try working on this since I have hardware I'd like to see supported.

lehmanju commented 4 years ago

Early stages of progress: https://github.com/lehmanju/client-toolkit/tree/pen-support

0x182d4454fb211940 commented 1 year ago

Can I ask what the status of this is? It seems like a huge segment of the rust ecosystem relies on Smithay for Wayland support, which rules out a lot of options for my (stylus-based) project. Ideally I'd like to use bevy, but that uses winit which uses Smithay.

kchibisov commented 1 year ago

@0x182d4454fb211940 besides the integration here, you're free to use wayland-scanner to generate required bindings and use it in your code just fine along any other wayland-rs tooling. Adding support here is more like 'add common boilerplate', which could benefit others, but nothing more in general.

0x182d4454fb211940 commented 1 year ago

@kchibisov I see, thank you for explaining. 🙂