wayscriber icon indicating copy to clipboard operation
wayscriber copied to clipboard

Touchscreen support.

Open synottech opened this issue 5 months ago • 3 comments

I expected touchscreen to be handled the same way as a mouse input, but it does not seem like it as wayscriber does not react to touchscreen input. Would it be possible to support touchscreens?

synottech avatar Jun 11 '26 11:06 synottech

On wayland touchscreen is not automatically delivered as mouse/pointer input to apps. That needs to be implemented separately.

wayscriber currently supports stylus input, but not touchscreen. Touchscreen feature hasn’t been requested before, and I don’t have hardware to test it directly.

Supporting touchscreen could be a useful feature, though, and I will keep it in mind for the future. Contributions are also welcome if someone wants to experiment with it.

devmobasa avatar Jun 11 '26 20:06 devmobasa

I’d be willing to test this and maybe try to get a small POC working.

That said, my Rust experience is basically nonexistent, so anything I put together would probably need someone more familiar with Rust to review and clean up afterward.

iMithrellas avatar Jun 16 '26 11:06 iMithrellas

I don't mind cleaning up after. I can also try to get something, if you can test it.

devmobasa avatar Jun 16 '26 19:06 devmobasa

@iMithrellas it is on branch feat/touchscreen-support, I don't know if you can test it without the binary.

devmobasa avatar Jun 17 '26 06:06 devmobasa

Building it shouldn't be an issue, I ll try to test it today.

iMithrellas avatar Jun 17 '26 07:06 iMithrellas

Ok, my meating was canceled haha. So I already got it up and running and so far so good, all the shapes, the brush and the pen seem to be working just as expected! I am honestly surprised there are no apparent issues. Great work!

iMithrellas avatar Jun 17 '26 07:06 iMithrellas

That was fast! Thanks. Might ship it.

devmobasa avatar Jun 17 '26 08:06 devmobasa