Salamek / chromium-kiosk

Chromium kiosk is simple package turning your Archlinux or Debian (and alike) based PC/Raspberry into simple web kiosk using chromium.
GNU General Public License v3.0
60 stars 10 forks source link

Better touchscreen detection #17

Open Salamek opened 3 years ago

Salamek commented 3 years ago

Current impl sux, use udevadm info --export-db ? match devices with ID_INPUT_TOUCHSCREEN=1

Salamek commented 1 year ago

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?