Files
Button/winDeployScripts/software/webconfig/buttontask.service.d/override.conf.example
T
2026-06-25 15:28:46 +03:00

15 lines
719 B
Plaintext

# Device-specific touch input. Copy to /etc/systemd/system/buttontask.service.d/override.conf
# and replace event1 with the correct event number for your touchscreen.
#
# Find the touchscreen event number:
# grep -l -E 'ABS_X|ABS_MT_POSITION' /sys/class/input/event*/device/capabilities/abs 2>/dev/null \
# | sed 's|.*/input/event||;s|/device.*||'
#
# sudo mkdir -p /etc/systemd/system/buttontask.service.d
# sudo cp .../override.conf.example /etc/systemd/system/buttontask.service.d/override.conf
# sudo systemctl daemon-reload && sudo systemctl restart buttontask
[Service]
Environment=QT_QPA_GENERIC_PLUGINS=evdevtouch:/dev/input/event1
Environment=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event1