I'm interested in using my laptop trackpad as a drawing tablet, i.e. using absolute rather than relative coordinates, similar to Inklet for OSX.
The same question was asked in ubuntuforums.org in May 2010, but the question was never answered. I'm wondering if this has been done on Linux. I'm also trying to figure out which search terms to use. I searched for 'linux laptop touchpad absolute mode', and came up with an issue with track pad drivers which put the trackpad in absolute mode. but I'm really looking for a program which uses the absolute positions rather than a driver setting.
Look at drivers, not applications
You won't find a program doing this, because of these three types of touchpads the drivers tries to abstract to a single representation to applications:
Unfortunately, even if you have a touchpad pretty much capable of reporting all absolute values, most touchpad drivers do not let you use them in Linux applications. The absolute data is really there, as the driver can detect whether you are touching it at the edges for scrolling for example. Test this for yourself using
evtest
in a virtual terminal (to suspend X). My Synaptics touchpad reports the absolute positions as follows:The capability of actually putting a Synaptics device in absolute mode in Xorg has been removed recently by this commit in the
xf86-input-synaptics
driver:System wide basic driver: evdev
The only way I see this to be possible at this moment in Linux is using the
evdev
driver in Xorg. It was discussed back in 2010 on the Xorg mailing list (an excerpt below):Bottom line: create a feature request
I see room for a feature request on the upstream bugtracker for the synaptics driver (and possibly others). It would be very much useful to have an interface in Xorg to be able to read the absolute position values of the touchpad. The main blockers I see is that this might be very much hardware specific and therefore hard to implement.
I think talking to Joe Shaw and Peter Hutterer could also be of great value to see what the history in this is exactly, how to make it a great feature request and what to expect from it.
That highly depends on the hardware I think.. Your trackpad needs to support giving away the absolute position of a touch. A normal laptop trackpad acts more like a mouse, only providing direction, speed and acceleration information. So wherever you touch, it will only move from the current direction of the cursor.