The multitouch diagnostic application
The purpose of the mtdiag application is to run several tests on input devices, whether on the device itself or the driver. In order to be able to run tests on several devices, a list of every input connected to the computer is set, and displayed.
Data display
Each input can be activated to get a visual display of the incoming informations, by drawing moving circles where the pointers are. Once a device is activated, several options are possible, the mode can be changed to those:
Tests
A list of several tests have been implemented, to give the user a better idea of the device performances. The tests will not affect how the device actually runs, but it will allow the user to see if something is wrong with it's device, for instance if not all finger appear. After running those tests, the user will have a better understanding of any trouble during the device utilisation. For now, those tests have been implemented:
Gesture recognition
Gesture recognition algorithm can be added to the application, to test it's efficiency. However, it has to be written in python for now, and following a specific syntax: It has to contain a "Reco" class, initialising with the device coordinates: