I've added support for this device and continue to work on it, so become maintainer. Udev rule is just a slight tweak to the one generated by pmbootstrap when touchscreen details are in deviceinfo, except use the device name instead of /dev/input/eventX, whose number varies each boot. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8470>
5 lines
204 B
Plaintext
5 lines
204 B
Plaintext
SUBSYSTEM=="input", ATTRS{name}=="Cypress TTSP TouchScreen", \
|
|
ENV{WL_CALIBRATION}="0 1 0 -1 0 1024", \
|
|
ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1", \
|
|
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1"
|