aboutsummaryrefslogtreecommitdiff
path: root/hid_menu.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-06-06 22:39:51 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-06-06 22:39:51 +0000
commit0060c5e3213b60801346e9aadb2cb1523c7762b2 (patch)
treec96fc239a1e4d46abc09295019875618001b3744 /hid_menu.pd
parent2f76356218d772155f218efd2209613376e06440 (diff)
- cleaned up CFLAGS and tried higher optimization, which failed to build
- implemented a second outlet which outputs data upon [refresh( to build a popup menu to select the device by name using a [popup]. This uncovered a bug, which is not fixed, it seems that everytime you open a device, that device gets added again to the list of devices svn path=/trunk/externals/hcs/hid/; revision=3122
Diffstat (limited to 'hid_menu.pd')
-rw-r--r--hid_menu.pd16
1 files changed, 16 insertions, 0 deletions
diff --git a/hid_menu.pd b/hid_menu.pd
new file mode 100644
index 0000000..b4dabae
--- /dev/null
+++ b/hid_menu.pd
@@ -0,0 +1,16 @@
+#N canvas 469 172 252 29 10;
+#X obj 131 138 inlet;
+#X obj 15 350 outlet;
+#X obj 1 2 popup 250 25 grey90 HID_device none;
+#X msg 15 318 open \$1;
+#X obj 251 141 prepend append;
+#X msg 131 203 options;
+#X obj 131 176 route menu;
+#X connect 0 0 6 0;
+#X connect 2 0 3 0;
+#X connect 3 0 1 0;
+#X connect 4 0 2 0;
+#X connect 5 0 2 0;
+#X connect 6 0 5 0;
+#X connect 6 1 4 0;
+#X coords 0 0 1 1 252 29 1;