Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: 5inch HDMI LCD touch is inverted
#4
So i edited the  /home/moode/.xinitrc, xintric is hidden, with ls -a, you can make it visible, with:


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.
Reply


Messages In This Thread
5inch HDMI LCD touch is inverted - by Saeniv - 11-07-2024, 03:33 PM
RE: 5inch HDMI LCD touch is inverted - by MJR42 - 11-15-2024, 12:46 AM
RE: 5inch HDMI LCD touch is inverted - by Saeniv - 05-16-2025, 09:12 PM
RE: 5inch HDMI LCD touch is inverted - by Saeniv - 05-17-2025, 07:07 AM

Forum Jump: