evdev always returns fixed XY values

Marco Cavallini info at koansoftware.com
Thu May 21 07:37:13 PDT 2015


Hello,
I am working on an ARM board
I can see touchscreen events from /dev/input/touchscreen0

I have some problems to understand the different touchscreen results 
between ts_* and evdev
For example ts_calibrate works, but xinput_calibrator not because the 
second touch have the same XY

I noticed that using evdev I always have fixed XY values, for example 
calling "xinput test"

Am I misconfiguring anything?

TIA

~~~


Section "InputDevice"
         Identifier      "Touchscreen"
         Driver          "evdev"
         Option          "Device" "/dev/input/touchscreen0"
         Option          "SendCoreEvents" "yes"
EndSection


# xinput test 6
motion a[0]=4095 a[1]=4095 a[2]=32768
button press   1
motion a[0]=4095 a[1]=4095
motion a[0]=4095 a[1]=4095
motion a[0]=4095 a[1]=4095
motion a[0]=4095 a[1]=4095
motion a[0]=4095 a[1]=4095
motion a[0]=4095
motion a[0]=4095 a[1]=4095
motion a[0]=4095 a[1]=4095
motion a[0]=4095
motion a[0]=4095 a[1]=4095

# ts_print
1432150849.245532:   6806   4543  32768
1432150849.256355:   6802   4541  32768
1432150849.275975:   6777   4538  32768
1432150849.275975:   6771   4538  32768
1432150849.285901:   6752   4537  32768
1432150849.305989:   6712   4546  32768
1432150849.305989:   6690   4552  32768
1432150849.324326:   6629   4580      0
1432150849.655574:   6319   4788  32768
1432150849.666155:   6316   4790  32768
1432150849.675987:   6314   4798  32768
1432150849.685926:   6312   4800  32768

--
Marco


More information about the xorg mailing list