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

Touchscreen support? #26

Open
CCF100 opened this issue Feb 14, 2022 · 2 comments
Open

Touchscreen support? #26

CCF100 opened this issue Feb 14, 2022 · 2 comments

Comments

@CCF100
Copy link

CCF100 commented Feb 14, 2022

I have an All-In-One that I use as a monitor, but I would like to also use the touchscreen built-in to it with my main desktop...

example output from libinput:
https://youtu.be/dDa6S5QGMug

@Blub
Copy link
Owner

Blub commented Feb 21, 2022

Could I see the output of evtest instead of the libinput debug one? I haven't read through libinput.
(And wouldn't that be somewhat inconvenient to use?)

@jcronenberg
Copy link

Actually touchscreens seem to work just fine for me since they normally just send EV_ABS and EV_KEY events. However, touchscreens don't work well with hotkeys, since well there aren't really any events suitable for toggling. So for me at least it was best to enable grabbing and writing when starting.
Here is a example config:

# file: netevent-setup.ne2
# Add touchscreen
device add mytouch /dev/input/by-id/usb-Touch

# Connect to the device via password-less ssh
output add myremote exec:ssh user@other-host netevent create
# Select the output to write to
use myremote
# Enable grabbing and writing immediately
grab-devices on
write-events on

And yes it is normally awkward to use but makes sense in some special situations.

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

No branches or pull requests

3 participants