I am trying to play around with touchpad multitouch events using mtdev-test since evtest is not available for Solus os yet.
So i have found tat magical command called mtdev-test but i cannot really figure out what this output means. I have found out that second column is possibly representing finger count (00=1,01=2,02=3,...) but i have no idea what others mean.
I have tried to find some information in: https://github.com/torvalds/linux/blob/master/drivers/input/mouse/elantech.c
and
https://www.kernel.org/doc/Documentation/input/elantech.txt
and also
https://www.kernel.org/doc/Documentation/input/event-codes.txt
Maybe i am just really dump to find relations between the three.
My goal is to somehow convert output from mtdev-test using java/python/whatever to human understandable data and detect X&Y of each finger
unicornponny@unicornponny ~ $ sudo mtdev-test /dev/input/event14
supported mt events:
ABS_MT_SLOT
ABS_MT_TOUCH_MAJOR
ABS_MT_POSITION_X
ABS_MT_POSITION_Y
ABS_MT_TRACKING_ID
ABS_MT_PRESSURE
0159b6c31962 00 3 0039 3588
0159b6c31962 00 3 0035 2049
0159b6c31962 00 3 0036 690
0159b6c31962 00 3 003a 25
0159b6c31962 00 3 0030 624
0159b6c31962 00 3 001c 4
0159b6c31962 00 1 014a 1
0159b6c31962 00 1 0145 1
0159b6c31962 00 3 0000 2049
0159b6c31962 00 3 0001 690
0159b6c31962 00 3 0018 25
0159b6c31962 00 0 0000 0
0159b6c31969 00 3 003a 21
0159b6c31969 00 3 0018 21
0159b6c31969 00 0 0000 0
0159b6c3196f 00 3 0030 156
0159b6c3196f 00 3 001c 1
0159b6c3196f 00 0 0000 0
0159b6c31979 00 3 0039 -1
0159b6c31979 00 1 014a 0
0159b6c31979 00 1 0145 0
0159b6c31979 00 3 0018 0
0159b6c31979 00 0 0000 0
So can anyone explain how it works,what these data means, or do someone know any resource what i have not found?