Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow legacy applications on capacitive touchscreens? #152

Open
pavelmachek opened this issue Jun 17, 2018 · 3 comments
Open

Allow legacy applications on capacitive touchscreens? #152

pavelmachek opened this issue Jun 17, 2018 · 3 comments

Comments

@pavelmachek
Copy link

It would be nice to be able to run applications designed for mouse on Droid 4 (or any device with capacitive touchscreen). I was afraid that it would not be possible, but there might be a way.

https://gitlab.com/tui/tui/tree/master/tmouse turns touchscreen into touchpad, so you can have finger on screen and still see mouse cursor. So good news is this can be done. Question is how to integrate it cleanly.

@MerlijnWajer
Copy link
Member

FWIW, I've written something called uinput-mapper ( https://github.com/MerlijnWajer/uinput-mapper http://maemo.org/packages/view/uinput-mapper/ ) - it also serves this kind of purposes although I made it for an arcade machine. Except that it creates virtual input devices that you can enable/disable, and they will show up in /dev/input/eventX.

I am wondering how integration could work. A simple option of course would be to be able to start/stop the program from an application or status applet.

@MerlijnWajer
Copy link
Member

The upside is that it should be also be able to automatically disable ("grab") the input device, so X should not read any more events from it. Saves you from "xinput disable <identifier". (Unless X grabs it, of course - have to check)

@Juesto
Copy link

Juesto commented Aug 8, 2018

GTK3 apps do have touch support natively. gtk2 doesn't and iirc qt doesn't either?
just saying. for gtk2 backporting gtk3 features specific to touch gestures should be a great addition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants