-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Touch screen support (Not HTML5) #3714
Comments
Please see and provide more details: |
Touch screen support on seamless mode is broken (Act as mouse but shouldn't), not sure if it has anything to do with Uinput yet |
You have provided no evidence for this.
Touch device emulation requires uinput. |
Kinda fixed the issue, now it's complaining unmanaged X11 context once i touch the screen |
So you were not using
@fan87 Please include the full message. |
uinput support is kinda broken (at least in python 3.10). server_util.py line 388 open(uevent_filename, "rb", encoding="latin1").read()
Fixed it by removing encoding, now what happens is unmanaged X11 context
It spams the stdout so it's performing really slow, I disabled the error output then it doesn't lag anymore, and touch works as mouse. Did more digging, found out that uinput devices are created, and it's using uinput pointer device instead of xtest pointer device now, but when i click on the screen (touch screen of my linux laptop), its device ID is still -1, which resulted in UInput Pointer Device Also touch devices are not acting the same touchpad devices, that's why I mentioned not sure if it has anything to do with uinput - because I don't know (and don't think) if touchpad devices is same as touch screen |
Thanks! That was recent change in the 5.0 development branch, the commit above fixes that.
The next commit should fix this one and restore parsing of XI2 events.
I can't remember all the details, but that looks correct.
IIRC they're close enough, and it's not easy to differentiate. |
Not sure how useful that's going to be, but there are APIs we can use for simulating touch events in shadow mode: #3750 (comment) See also #3831 |
Is your feature request related to a problem? Please describe.
Touch screens are currently unsupported and they will be emulated as mouse input, scrolling and other touch actions won't work.
(Not HTML Client, X11)
Describe the solution you'd like
Emulate a touch screen (Not a touchpad)
I've seen there's an open issue for Touch Device, but apparently it's not touch screen but touch pad / drawing tablet.
The text was updated successfully, but these errors were encountered: