05-11-2020, 06:57 PM
Hello I've been trying to make it so my touch points flip 180° when the RPI boots I to OAP. I've got a bit of code that works Flipping the touch points
"sudo xinput set-prop 'ILITEK ILITEK-TP' 'Coordinate Transformation Matrix' -1, 0, 1, 0, - 1, 1, 0, 0, 1"
I've tried putting this into rclocal, that didn't work because the desktop hasn't booted when the command is sent
I tried to put it into /etc/xdg/lxsession/LXDE-pi/autostart
I also tried /etc/xdg/lxsession/LXDE/autostart
Nothing happens.
I put "@xinput set-prop 'ILITEK ILITEK-TP' 'Coordinate Transformation Matrix' -1, 0, 1, 0, - 1, 1, 0, 0, 1" in the file and that seems to do nothing, am I supposed to add some sort of path for xinput in front of the string of code to make this work? If so what would the path for xinput be to add in front of that command?
"sudo xinput set-prop 'ILITEK ILITEK-TP' 'Coordinate Transformation Matrix' -1, 0, 1, 0, - 1, 1, 0, 0, 1"
I've tried putting this into rclocal, that didn't work because the desktop hasn't booted when the command is sent
I tried to put it into /etc/xdg/lxsession/LXDE-pi/autostart
I also tried /etc/xdg/lxsession/LXDE/autostart
Nothing happens.
I put "@xinput set-prop 'ILITEK ILITEK-TP' 'Coordinate Transformation Matrix' -1, 0, 1, 0, - 1, 1, 0, 0, 1" in the file and that seems to do nothing, am I supposed to add some sort of path for xinput in front of the string of code to make this work? If so what would the path for xinput be to add in front of that command?