projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af62290
)
multi-touch sample: use FG2.8 (reversed) prototype for now
author
Sylvain Beucler
<beuc@beuc.net>
Sun, 13 May 2012 09:14:27 +0000
(09:14 +0000)
committer
Sylvain Beucler
<beuc@beuc.net>
Sun, 13 May 2012 09:14:27 +0000
(09:14 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1317
7f0cb862
-5218-0410-a997-
914c9d46530a
progs/demos/multi-touch/multi-touch.c
patch
|
blob
|
history
diff --git
a/progs/demos/multi-touch/multi-touch.c
b/progs/demos/multi-touch/multi-touch.c
index
ee5b2bb
..
42842de
100644
(file)
--- a/
progs/demos/multi-touch/multi-touch.c
+++ b/
progs/demos/multi-touch/multi-touch.c
@@
-105,7
+105,9
@@
void onMotion(int x, int y) {
cursors[0][0].y = y;
}
-void onMultiButton(int cursor_id, int button, int state, int x, int y) {
+/* Using FG2.8 (reversed) prototype for now */
+/* void onMultiButton(int cursor_id, int button, int state, int x, int y) { */
+void onMultiButton(int cursor_id, int x, int y, int button, int state) {
if (cursor_id > NUM_CURSORS) {
fprintf(stderr, "cursor_id(%d) > NUM_CURSORS(%d)\n", cursor_id, NUM_CURSORS);
return;