Rotate or Swap Touch Calibration - Linux

Rotate or Swap Touch Calibration - Linux

If you are using a Linux operating system, or any OS that doesn’t support DISPLAX Connect, you may need to rotate or swap the X and Y coordinates (for example: Raspbian, Ubuntu Mate or Raspberry PI 3). To do this just follow the steps below.

Determine the input device name:

xinput list

In this example,the DISPLAX Touch Controller name will be “DISPLAX SKIN FIT (3d7be8aa9506c43779d)”

To perform the rotation select one of the following options:

# Left (rotate clockwise 90º)

xinput set-prop ‘DISPLAX SKIN FIT (3d7be8aa9506c43779d)’ ‘Coordinate Transformation Matrix’ 0 -1 1 1 0 0 0 0 1

# Inverted

xinput set-prop ‘DISPLAX SKIN FIT (3d7be8aa9506c43779d)’ ‘Coordinate Transformation Matrix’ -1 0 1 0 -1 1 0 0 1

# Right (rotate counterclockwise 90º)

xinput set-prop ‘DISPLAX SKIN FIT (3d7be8aa9506c43779d)’ ‘Coordinate Transformation Matrix’ 0 1 0 -1 0 1 0 0 1

Please note: A routine needs to be set to run one of the above commands every time the system is started up, or the rotation setting will be lost.

    • Related Articles

    • DISPLAX Skin works with Linux

      DISPLAX Skin products work on every operating system (including Linux), provided it has an HID driver for multi-touch devices. Similar to other generic devices such as keyboards, mice, USB cameras, etc; if the operating system has the necessary ...
    • What is considered good touch performance?

      Having continuous touch without losing detection when dragging one finger, held 90º relative to the display, with minimal finger pressure. Test across the entire active area of the sensor, center and borders. Repeat the previous step, using 2 or more ...
    • Touch Accuracy Offset

      After obtaining an optimal touch performance and calibrating a touch sensor, if you find there is an offset to the accuracy of where the physical touch is in relation to where it shows on the display, please check 2 things: 1. Scaling applied in the ...
    • How to activate the touch in the operating system

      In order to get touch interaction in the operating system itself, you must ensure that the Touch Injection button is set to the ON position.
    • Touch Controller not detected in DISPLAX Connect

      No Touch Controller Detected There are many reasons a Touch Controller may not be detected by a computer. Ensure you double-check: All the motherboard drivers are properly installed (Windows) If the USB drivers of the computer are not installed, or ...