Rare icon indicating copy to clipboard operation
Rare copied to clipboard

[Feature Request] Touch support

Open MultisampledNight opened this issue 3 years ago • 3 comments

Currently, Rare only features very rudimentary touch support and seems to interpret touch input the exact same as mouse and pen input. This makes scrolling, swiping and "right click" (two finger tap) gestures impossible, however. To scroll, the scrollbar on the right has to be used which can be sometimes difficult to hit at times.

This could be improved by making

  • Scrolling gestures... scroll
  • Horizontal swiping gestures switch tabs
  • Two finger taps on a game open game info/settings.

Implementing touch support would allow comfortable usage of Rare on convertible/touchscreen-only devices such as tablets or laptops. With a controller available, Rare could be a comfortable game launcher for on the go. But I'm digressing...

On the more technical side, I'm pretty confident that Qt in its huge size already offers touch and gesture detection, but I'm not sure how difficult integrating that into the rest of Rare would be. Looking at https://doc.qt.io/qt-5/gestures-overview.html, this seems pretty straightforward, but I don't know the details this may imply.

MultisampledNight avatar Feb 22 '22 14:02 MultisampledNight

Very nice idea, but i have no device to test it, unless there is an option to simulate it or run it on a phone

Dummerle avatar Feb 22 '22 16:02 Dummerle

There is probably some way to emulate a touch device. I will look for something like this. An other option (which is probably the better one) to use some app that lets you use your phone as a touch tablet

invertedEcho avatar Feb 22 '22 17:02 invertedEcho

That's... rather unfortunate. There might be a way to use Termux and the X.Org server app though. In case that's too tedious to be viable for you, I'd hack around a bit on Rare in the future and see how much I can successfully break. /hj

MultisampledNight avatar Feb 22 '22 17:02 MultisampledNight