-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Sway touchscreen input size in multi-monitor setups does not match the touchscreen display size #6590
Comments
Sway has some detection mechanism for built-in touchscreens, but we can't get it always right. What does |
BTW - you can still manually map the input device to the output with |
Ye, I am not running the most common hardware so not too surprised
shows that the device doesn't get linked there. (evtest shows it as event21)
Oh crap, I somehow missed this option in the input config. Thanks for that. |
OK, what about |
I hope this helps in detecting these devices. |
Ah interesting, it seems our logic isn't accounting for this case: Line 317 in 4e77bc2
I think it would be reasonable to match platform devices when they are on a PCI bus -- so with a |
Sure. I'll send a PR in a few. |
Adds detection code to handle pci-*-platform-* strings in ID_PATH References: #6590 Signed-off-by: Jari Ronkainen <ronchaine@gmail.com>
Adds detection code to handle pci-*-platform-* strings in ID_PATH References: swaywm#6590 Signed-off-by: Jari Ronkainen <ronchaine@gmail.com>
Sway Version:
Configuration File:
Default config file
Description:
swaymsg -t get_outputs below
)I'm not sure if this should be fixed in wlroots or sway.
It seems that the touchscreen coordinates are relative to entire output layout, instead of only the touchscreen monitor. (i.e. sway calls `wlr_cursor_absolute_to_layout_coords(...), which uses the layout size when it's expected that it should be restricted to only the touchscreen itself or smth. like that.)
And another display on the right
'm unsure where / how this should be fixed (e.g. should sway do the cursor restriction or
should wlroots detect it is a touch input and do it itself, or does some other use case break in that situation?)
The text was updated successfully, but these errors were encountered: