Thanks a bunch Lionel, if you find the time to fix it, I will certainly be available for testing! If not, I might have to fix it myself in time for a Maker Fair coming up in a couple of weeks. Here is the output from evtest in case you need some reference data. It looks very similar to the already implemented touchpad I see:
root thing:/usr/src/toggle/clutter# evtest /dev/input/event1
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x3eb product 0x2118 version 0x111
Input device name: "Intelligent Agent CDC and Digitizer"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 330 (Touch)
Event type 3 (Absolute)
Event code 0 (X)
Value 894
Min 0
Max 4095
Event code 1 (Y)
Value 772
Min 0
Max 4095
Event code 24 (Pressure)
Value 0
Min 0
Max 1
Event code 47 (?)
Value 0
Min 0
Max 9
Event code 53 (Position X)
Value 0
Min 0
Max 4095
Event code 54 (Position Y)
Value 0
Min 0
Max 4095
Event code 57 (Tracking ID)
Value 0
Min 0
Max 65535
Event code 58 (?)
Value 0
Min 0
Max 1
Testing ... (interrupt to exit)
Event: time 946698841.225141, type 3 (Absolute), code 57 (Tracking ID), value 4095
Event: time 946698841.225141, type 3 (Absolute), code 53 (Position X), value 630
Event: time 946698841.225141, type 3 (Absolute), code 54 (Position Y), value 1236
Event: time 946698841.225141, type 3 (Absolute), code 58 (?), value 32
Event: time 946698841.225141, type 1 (Key), code 330 (Touch), value 1
Event: time 946698841.225141, type 3 (Absolute), code 0 (X), value 630
Event: time 946698841.225141, type 3 (Absolute), code 1 (Y), value 1236
Event: time 946698841.225141, type 3 (Absolute), code 24 (Pressure), value 32
Event: time 946698841.225141, -------------- Report Sync ------------
Event: time 946698841.230170, type 3 (Absolute), code 57 (Tracking ID), value -1
Event: time 946698841.230170, type 1 (Key), code 330 (Touch), value 0
Event: time 946698841.230170, type 3 (Absolute), code 24 (Pressure), value 0
Event: time 946698841.230170, -------------- Report Sync ------------
Event: time 946698841.240141, type 3 (Absolute), code 57 (Tracking ID), value 4096
Event: time 946698841.240141, type 3 (Absolute), code 58 (?), value 13
Event: time 946698841.240141, type 1 (Key), code 330 (Touch), value 1
Event: time 946698841.240141, type 3 (Absolute), code 24 (Pressure), value 13
Event: time 946698841.240141, -------------- Report Sync ------------
Event: time 946698841.245156, type 3 (Absolute), code 57 (Tracking ID), value -1
Event: time 946698841.245156, type 1 (Key), code 330 (Touch), value 0
Event: time 946698841.245156, type 3 (Absolute), code 24 (Pressure), value 0
Event: time 946698841.245156, -------------- Report Sync ------------
I would have gotten right on this had it not been for the problem of shading a Mash model as well. But, I'll start a new thread if I do not get anywhere with poking around..