fusuma icon indicating copy to clipboard operation
fusuma copied to clipboard

[Question]is it usable for touchscreen?

Open lVentus opened this issue 1 year ago • 10 comments

Hello! I wonder if it can work for touchscreen? I have a surface pro, and I want it to work with touchscreen as well, when it is in tablet mode. Is it possible? Thanks a lot!

lVentus avatar Apr 28 '23 19:04 lVentus

Fusuma does not handle touchscreen events, so it should not work. It is possible to implement the feature improvement, but it is difficult because I do not have a touchscreen device.

iberianpig avatar Apr 29 '23 12:04 iberianpig

Don't want to give you too much hope till the work is done, but at the moment I'm working on a plugin which should allow Fusuma to work on touchscreens. By the very same reason - I have a surface pro and I want Fusuma to work on it :)

Phaengris avatar May 19 '23 17:05 Phaengris

That's great! Feel free to ask any questions you have. I'm here to help!

iberianpig avatar May 20 '23 02:05 iberianpig

I'd like to share some progress report:

  • you can watch it here https://github.com/Phaengris/fusuma-plugin-touchscreen/tree/draft
  • at this moment it is very draft, supports only tap events and the structure of the plugin is still under question
  • I consider it as a very first step which gave me some understanding of how a Fusuma plugin should be built

The next step is to try to implement swipe support :) Any comments / feature requests are welcome.

Phaengris avatar May 31 '23 18:05 Phaengris

Some progress report :) sorry for being slow with updates, I have not much time to work on this...

  • added swipe support
  • heavily reworked the plugin's structure

The next steps: add hold support, then release 0.0.1, then work on pinch / rotate / edge. (Or add pinch / rotate, then release 0.0.1? :thinking:)

Phaengris avatar Jun 18 '23 19:06 Phaengris

That's really amazing! I'm thinking of buying a touchscreen device myself so that I can try it out :smile:

I think it's a good idea to release the features gradually, in smaller increments.

iberianpig avatar Jun 20 '23 04:06 iberianpig

Progress report: hold support.

@iberianpig you're probably right :+1: let me release it and then add features.

Phaengris avatar Jun 20 '23 17:06 Phaengris

Well, I've released it as a gem https://rubygems.org/gems/fusuma-plugin-touchscreen/versions/0.0.1.alpha

I still consider it an alpha version :) but releasing it as a gem may give a chance to install it for everyone who would like to try.

I need to write some readme at least and also add some tests to make it non-alpha.

Phaengris avatar Jun 21 '23 18:06 Phaengris

I was away from development for a time, but now there's some news:

  • pinch implemented
  • rotate implemented
  • covered with specs

What's left to do is to finish a spec for TouchBuffer, then release 0.1.0

Phaengris avatar Jul 10 '23 17:07 Phaengris

Well, 0.1.0 is released, readme and changelog are updated. So now we can say, with some caution :) that Fusuma has support for touchscreens :)

Now I'll start to use it on my device and see if there are any bugs to fix / opportunities to improve. Anyone who can / want to test it is very welcome!

https://github.com/Phaengris/fusuma-plugin-touchscreen

Phaengris avatar Jul 17 '23 19:07 Phaengris