diff options
Diffstat (limited to 'INSTALL')
| -rw-r--r-- | INSTALL | 32 |
1 files changed, 32 insertions, 0 deletions
| @@ -0,0 +1,32 @@ | |||
| 1 | grail - Gesture Recognition And Instantiation Library | ||
| 2 | |||
| 3 | To build, you need to have the autoconf, libtool and mtdev-dev packages | ||
| 4 | installed. Then, do | ||
| 5 | |||
| 6 | ./autogen.sh | ||
| 7 | ./configure | ||
| 8 | make | ||
| 9 | |||
| 10 | To test the touch properties of an MT device at /dev/input/eventX, do | ||
| 11 | |||
| 12 | sudo ./test/grail-touch /dev/input/eventX | ||
| 13 | |||
| 14 | You should be able to see touch events in the terminal. After five | ||
| 15 | seconds of inactivity, the program exits. | ||
| 16 | |||
| 17 | To test gestures, do | ||
| 18 | |||
| 19 | sudo ./test/grail-gesture 0xffffffff /dev/input/eventX | ||
| 20 | |||
| 21 | You should be able to see gesture events in the terminal. After five | ||
| 22 | seconds of inactivity, the program exits. | ||
| 23 | |||
| 24 | To install grail, do | ||
| 25 | |||
| 26 | sudo make install | ||
| 27 | |||
| 28 | By default, grail installs to /usr/local. To change, use the --prefix | ||
| 29 | configure option. | ||
| 30 | |||
| 31 | Enjoy, | ||
| 32 | Henrik | ||
