aboutsummaryrefslogtreecommitdiff
path: root/rawmousetest.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-04-16 16:51:00 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-04-16 16:51:00 +0000
commitd5a7b191fb9f85598096f039c0cd505ec461f974 (patch)
treed2eaa1eed7dafa16a7953db9a582f23d75316968 /rawmousetest.pd
parent56da808dc50d5b4bc71597542d01bc5e0d4acbb7 (diff)
switched to Guenter's serialctl.c as an example. it basically works now, but it needs some tweaking to correctly show negative numbers
svn path=/trunk/externals/hcs/; revision=567
Diffstat (limited to 'rawmousetest.pd')
-rw-r--r--rawmousetest.pd32
1 files changed, 18 insertions, 14 deletions
diff --git a/rawmousetest.pd b/rawmousetest.pd
index 9cf4e2d..60a4720 100644
--- a/rawmousetest.pd
+++ b/rawmousetest.pd
@@ -1,14 +1,18 @@
-#N canvas 69 578 450 300 10;
-#X obj 156 76 rawmouse;
-#X floatatom 223 161 5 0 0 3 button# - -;
-#X floatatom 286 163 5 0 0 3 button_value - -;
-#X floatatom 175 160 5 0 0 3 wheel - -;
-#X floatatom 122 161 5 0 0 3 y-axis - -;
-#X floatatom 76 162 5 0 0 3 x-axis - -;
-#X floatatom 132 33 5 0 0 0 - - -;
-#X connect 0 0 5 0;
-#X connect 0 1 4 0;
-#X connect 0 2 3 0;
-#X connect 0 3 1 0;
-#X connect 0 4 2 0;
-#X connect 6 0 0 0;
+#N canvas 5 614 450 300 10;
+#X floatatom 258 160 5 0 0 3 button# - -;
+#X floatatom 321 162 5 0 0 3 button_value - -;
+#X floatatom 175 160 9 0 0 3 wheel - -;
+#X floatatom 99 161 9 0 0 3 y-axis - -;
+#X floatatom 24 162 9 0 0 3 x-axis - -;
+#X floatatom 51 67 5 0 0 0 - - -;
+#X obj 75 110 rawmouse /dev/input/event0;
+#X msg 125 40 start;
+#X msg 136 78 stop;
+#X connect 5 0 6 0;
+#X connect 6 0 4 0;
+#X connect 6 1 3 0;
+#X connect 6 2 2 0;
+#X connect 6 3 0 0;
+#X connect 6 4 1 0;
+#X connect 7 0 6 0;
+#X connect 8 0 6 0;