This will fix rotation bugs for touch input devices, when ROTATE_DISPLAY is set.
It will try to find the Input Devices with Touch in their name.
But some devices use different names so the TOUCHSCREEN variable can be set to the name of the device.
I had for example a QDtech MPI7003 that I have tested it with.
In only tested it on a RPi4 with the manual part via TOUCHSCREEN variable.
This will fix rotation bugs for touch input devices, when
ROTATE_DISPLAY
is set.It will try to find the Input Devices with
Touch
in their name. But some devices use different names so theTOUCHSCREEN
variable can be set to the name of the device. I had for example aQDtech MPI7003
that I have tested it with.In only tested it on a RPi4 with the manual part via
TOUCHSCREEN
variable.This is based on https://gist.github.com/mildmojo/48e9025070a2ba40795c and https://gist.github.com/mildmojo/48e9025070a2ba40795c#gistcomment-3729827
Change-type: minor