Author Topic: Archlinuxarm On C3x00  (Read 49591 times)

DiTBho

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Archlinuxarm On C3x00
« Reply #375 on: January 30, 2021, 08:11:18 am »
TOUCHSCREEN : I guess we need to port the touch screen calibration tool from pdaxroom. It was outdated back then already, maybe there is another way to calibrate now.

I am working with my old Gentoo 2010 stage4-armv5tel-softfloat-gnueabi, and I have recently developed a raw and wield application that directly access /dev/input/event1 in order to extract (x,y) points from the touchscreen.

Code: [Select]
/dev/input/event0 
/dev/input/event1 <---------------- I am using this, at the low level
/dev/input/mice
/dev/input/mouse0

Coordinates are so noisy that I added an iterative mean-value filter to have more stable values.

I don't anything about the calibration tool, never used it, but yesterday I added this to my overlay

Code: [Select]
x11-libs/tslib v1.0

SDL-v1 can be compiled with support tslib, and tslib comes with some applications

Code: [Select]
/usr/bin/ts_test
/usr/bin/ts_calibrate <---------------- this one looks interesting
/usr/bin/ts_print
/usr/bin/ts_print_raw
/usr/bin/ts_harvest
/usr/bin/ts_finddev
/usr/bin/inputattach