ArmSoM
← All stories

How to Align Touch Coordinates on a Rotated Linux Kiosk

A portrait kiosk on an ArmSoM board can display the interface correctly while a tap lands on the opposite edge. Display rotation and input transformation are separate settings. An additional application-level transform can also rotate touches twice.

ArmSoM Sige5 single-board computer product photo

ArmSoM Sige5 single-board computer · ArmSoM

Test four asymmetric targets

Display labeled targets near the corners and place a fifth off center. Tap each one, save the reported coordinates and identify whether the error is a rotation, a mirror or a scaling offset. Check which layer owns orientation in the shipped image, such as the compositor, input configuration or the application. Apply the correction in one place and repeat after reboot.

If top-left maps to bottom-right but top-right maps to bottom-left, suspect a half-turn. If only the horizontal dimension reverses, investigate reflection before changing rotation.

Repeat with a second connected display if the kiosk supports one. A correct orientation with touches mapped to the other screen needs a different fix.

Reference material

ArmSoM Sige5 hardware documentation

ArmSoM display and touch interface guide

Related ArmSoM guide

Touchscreen kiosks with a compute module display and input planning

Explore ArmSoM Sige5