chromium-kiosk
chromium-kiosk copied to clipboard
Better touchscreen detection
Current impl sux, use udevadm info --export-db
?
match devices with ID_INPUT_TOUCHSCREEN=1
Hmm i had look on this, and using udev to find a touchscreen kinda work... but some touchscreens do NOT set ID_INPUT_TOUCHSCREEN=1
but ID_INPUT_MOUSE=1
and then we fail to find them... also there is no way to match dbus device with xinput listed devices... so current way of finding touchscreen (matching names to xinput devices) is hot garbage but it provides best results for now... maybe look on this again when we switch to wayland and libinput?