diff options
author | Peter Osterlund <petero2@telia.com> | 2003-10-13 23:33:25 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:01:17 +0200 |
commit | 64cb1f3f141c17340d38550a2ac251f6a9e30f77 (patch) | |
tree | 6cd02c1143aad34d2b87d704415c599a77f1d346 /synclient.c | |
parent | d2aa3f955bba0159b2190c1012365699f0b8ecba (diff) |
Report all eight multi buttons in the synclient program.
Diffstat (limited to 'synclient.c')
-rw-r--r-- | synclient.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/synclient.c b/synclient.c index 7f6da18..9f80fef 100644 --- a/synclient.c +++ b/synclient.c @@ -154,9 +154,12 @@ static void monitor(SynapticsSHM* synshm, int delay) while(1) { SynapticsSHM cur = *synshm; if (!is_equal(&old, &cur)) { - printf("x:%4d y:%4d z:%3d f:%1d w:%2d left:%d right:%d up:%d down:%d\n", + printf("x:%4d y:%4d z:%3d f:%1d w:%2d left:%d right:%d up:%d down:%d " + "multi:%d %d %d %d %d %d %d %d\n", cur.x, cur.y, cur.z, cur.numFingers, cur.fingerWidth, - cur.left, cur.right, cur.up, cur.down); + cur.left, cur.right, cur.up, cur.down, + cur.multi[0], cur.multi[1], cur.multi[2], cur.multi[3], + cur.multi[4], cur.multi[5], cur.multi[6], cur.multi[7]); old = cur; } usleep(delay * 1000); |