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 ...
    • MacOS Monterey Workaround to Enable Touch

      How do I enable touch on macOS Monterey with DISPLAX controllers? With macOS Monterey and newer versions, native touch input is no longer supported by default for DISPLAX Skin line touch controllers. To restore touch functionality, DISPLAX provides a ...
    • 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 ...
    • Devices Compatibility

      Do DISPLAX touch products require drivers or DISPLAX Connect to work? All DISPLAX touch products are HID (Human Interface Device) compliant, which means they do not require any special drivers to operate. As long as the operating system supports ...