GAMELASTER
Posts: 38
Joined: Sat Feb 14, 2015 8:05 pm

TUTORIAL: Calibrate touch screen on latest Raspbian

Wed Jan 24, 2018 9:57 am

Since circa March update of Raspbian, there is used evdev instead of libinput, which causes that default xinput calibrator doesn't work anymore.
That's reason that why I created evdev-calibration application. I must note that it's not absolutely accurate, but still better than nothing.

Installation

Code: Select all

sudo apt-get install libsdl2-dev libsdl2-ttf-dev
cd /tmp
wget https://github.com/gamelaster/evdev-calibration/releases/download/0.2/evdev-calibration-armv7.tar.gz
tar xvf evdev-calibration-armv7.tar.gz
export DISPLAY=:0
./evdev-calibration
And then just follow the instructions.

Known issues
- There is no support for rotated displays

If you have any questions, ask it!

(btw. I hope I selected a right category, if not, please move it!)

User avatar
FloatingCloud
Posts: 33
Joined: Wed Nov 18, 2015 9:53 am

Re: TUTORIAL: Calibrate touch screen on latest Raspbian

Tue Jun 12, 2018 2:29 pm

I used
sudo apt-get install xinput-calibrator
Then Menu / Preferences / Calibrate Touchscreen

peemoeller
Posts: 1
Joined: Tue Feb 19, 2019 10:54 pm

Re: TUTORIAL: Calibrate touch screen on latest Raspbian

Thu Feb 21, 2019 5:51 pm

I have installed xinput for my RPi and ran the calibrator program under preferences but can seem to find instructions on how to change the touch pointer from landscape to portrait mode. I slide my finger up the screen and the curser moves left.
Is there some that can help? Thanks!

kkjensen
Posts: 8
Joined: Mon May 13, 2013 5:20 am

Re: TUTORIAL: Calibrate touch screen on latest Raspbian

Mon Feb 25, 2019 4:20 am

I know this is an old post. I'm familiar with xinput calibrator but the portrait orientation of the touch surface seems to still be an issue. Did you find a solution?

oospookyoo
Posts: 1
Joined: Thu Aug 01, 2019 5:55 pm

Re: TUTORIAL: Calibrate touch screen on latest Raspbian

Thu Aug 01, 2019 5:58 pm

Use display_rotate in order to turn the video.

Follow this guide to rotate the digitizer: http://www.circuitbasics.com/raspberry- ... -rotation/

I recently setup a portrait oriented kiosk that had to tackle rotating both the screen and the digitizer.

Return to “Graphics, sound and multimedia”