I am using an Raspberry Pi 3b and a 7 inch hdmi waveshare touchscreen that connects to rpi with a hdmi cable and a micro usb cable.
I want to program a push button from GPIO pins to make the screen on/off when the button is pressed.
I can turn the backlight off with vcgencmd display_power 0
command but the touch is still working and when the screen turns on again I can see that the touches that I have made is applied.
How can I turn off touch like the backlight in this screen?