I have disabled the touchscreen on my official 7" display by adding the below line to my /boot/config.txt
# disable the touchscreen
disable_touchscreen=1
While this works, it also eliminates all ability to programmatically control the display. Everything under /sys/class/backlight disappears.
Is there a way to disable the touchscreen that will still allow the control of the rest of the display functions?