mtview is a visual feedback tool that shows touch points, sizes, disconnects, offsets, etc.
Install Binary
If you don't need to work with the source code, this is the easiest way to get started with mtview (note that it's currently available only in the Natty archives as a binary install):
$ sudo apt-get install mtview
Build from Source
If you need more than the binary, here's how to get the code and build it:
$ bzr branch lp:mtview
This code is a mirror of a git master branch, maintained by Henrik Rydberg here:
$ git clone http://bitmath.org/git/mtview.git
Due note, however, that patches, merge proposes, bugs, etc., need to be filed against the LP code!
Once you have the code, you can build:
$ cd mtview $ ./autogen.sh $ ./configure $ make
Testing the Device
In order to run mtview, you will need to know the input node for your multitouch device. To find this out, use the instructions here:
Let's say that after running lsinput, you discovered that your MT device input node was /dev/input/event10, then you would run mtview with the following command:
sudo ./bin/mtview /dev/input/event10
At this point, a window will come up and mtview will capture all touch events. Some examples of mtview in action can be found here:
Some known issues with mtview to keep in mind:
- sometimes the screen starts up with a black background, sometimes with a white one
- the first touch is not captured
- around the edges of the screen, touch points are offset; this is a bug, and not (necessarily) a problem with your hardware