So i edited the /home/moode/.xinitrc, xintric is hidden, with ls -a, you can make it visible, with:
and then inverted the Input Matrix in /usr/share/X11/xorg.conf.d/40-libinput.conf
Last thing missing is the calibration of the x and y touch coordinates.
When i finally read the actual code instead of doing what seems to work for others solved the problem.
Code:
# Set HDMI/DSI screen orientation
HDMI_SCN_ORIENT=$(moodeutl -q "SELECT value FROM cfg_system WHERE param='hdmi_scn_orient'")
DSI_SCN_TYPE=$(moodeutl -q "SELECT value FROM cfg_system WHERE param='dsi_scn_type'")
DSI_PORT=$(moodeutl -q "SELECT value FROM cfg_system WHERE param='dsi_port'")
DSI_SCN_ROTATE=$(moodeutl -q "SELECT value FROM cfg_system WHERE param='dsi_scn_rotate'")
if [ $DSI_SCN_TYPE = 'none' ]; then
if [ $HDMI_SCN_ORIENT = "landscape" ]; then
DISPLAY=:0 xrandr --output HDMI-1 --rotate inverted
fi
and then inverted the Input Matrix in /usr/share/X11/xorg.conf.d/40-libinput.conf
Last thing missing is the calibration of the x and y touch coordinates.
When i finally read the actual code instead of doing what seems to work for others solved the problem.