From 0060c5e3213b60801346e9aadb2cb1523c7762b2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 6 Jun 2005 22:39:51 +0000 Subject: - 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 --- hid_menu.pd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hid_menu.pd (limited to 'hid_menu.pd') 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; -- cgit v1.2.1