NHD-7.0CTP-CAPE use touch screen in portrait mode?


1 comment

  • mhall

    Hi Arnie,

    Running Debian 9.1 on BB Black , I found the same as you. But if you add the TransformatinMatrix option it does rotate the Touch.
    I found this solution in the past for the RPi3.  This transformation works well for CW rotation.
    For BeagleBone TourchScreen rotation : add or change this 40-libinput.conf file (/usr/share/X11/xorg.conf.d/40-....)

    Section "InputClass"
            Identifier "libinput touchscreen catchall"
            MatchIsTouchscreen "on"
            MatchDevicePath "/dev/input/event*"
            Driver "libinput"
    #       Option "SwapAxes" "true"
    #       Option "RotationAngle" "90.0"
            Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"

    Hope it helps.


Please sign in to leave a comment.