Hi, I have done a little Tcl/Tk GUI to dynamically manage the configuration of the parameters of the synaptics touchpad driver. The gui communicates with the driver with two pipes (/dev/synaptics and /dev/synapticsctl). The GUI is in Tcl/Tk, it gives a real time display of the presure of the finger, position on the pad, you can interactively set the "edges" definiton, toggle tossing, edge_motion, etc, etc... Also, I have introduced a new algorithm which I find smoother to manage the coordinates from the pad and tune the acceleration (I originally did the GUI to easier tune the parameters of the algorithm) Right now, this is a work in progress, just a "big hack", but it is fully functionnal though. I am looking for some feed back, for example on the following questions: - Is /dev the right place (why not /tmp... ?) anyways, this is configurable at startup of gpm in gpm-config file (parameter - pipe, UNIX socket, shm other IPC between driver and GUI maybe the right choice ? - What other funny graphic parameters display to add (I want to include X server acceleration, tap and double-tap time...) Comments welcomed I worked with gpm-1.19.6 (yes, I know, 1.20 is out, did not get time to check if it works yet) Included here are: - diff for gpm-xx.xx/src/synaptics.c - synaptics.tk just patch the original synaptics.c, compile, run gpm, then the GUI. I assume you have a Tcl/Tk >= 8.0 Regards, Laurent
Attachment:
synaptics.c.diff.gz
Description: GNU Zip compressed data
Attachment:
synaptics.tk.gz
Description: GNU Zip compressed data