From 15f7abfac5a429555e5230726f83c0189b1521db Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 17 Mar 2006 04:58:40 +0000 Subject: changed [pddp] object tp [pddp( message to disable the [pddp] object, which causes crashes svn path=/trunk/externals/hcs/hid/; revision=4725 --- doc/TODO | 14 ++++++++++++++ doc/buttongate-help.pd | 2 +- doc/deg2hid-help.pd | 2 +- doc/hid2deg-help.pd | 2 +- doc/hid2rad-help.pd | 2 +- doc/hid_average-help.pd | 2 +- doc/hid_centered-help.pd | 2 +- doc/hid_cube-help.pd | 2 +- doc/hid_cuberoot-help.pd | 2 +- doc/hid_exp-help.pd | 2 +- doc/hid_graph-help.pd | 2 +- doc/hid_invert-help.pd | 2 +- doc/hid_log-help.pd | 2 +- doc/hid_lowpass-help.pd | 2 +- doc/hid_menu-help.pd | 2 +- doc/hid_one2four-help.pd | 2 +- doc/hid_one2three-help.pd | 2 +- doc/hid_one2two-help.pd | 2 +- doc/hid_polar-help.pd | 2 +- doc/hid_rel2abs-help.pd | 2 +- doc/hid_smooth-help.pd | 2 +- doc/hid_spiral-help.pd | 2 +- doc/hid_square-help.pd | 2 +- doc/hid_squareroot-help.pd | 2 +- doc/joystick-help.pd | 4 ++-- doc/keyboard-help.pd | 4 ++-- doc/keygate-help.pd | 2 +- doc/mouse-help.pd | 4 ++-- doc/notescale-help.pd | 4 ++-- doc/rad2hid-help.pd | 2 +- 30 files changed, 47 insertions(+), 33 deletions(-) create mode 100644 doc/TODO diff --git a/doc/TODO b/doc/TODO new file mode 100644 index 0000000..c192b93 --- /dev/null +++ b/doc/TODO @@ -0,0 +1,14 @@ +Right now, [hid] basically outputs events in response to the OS. It polls the +event queue at a given frequency and processes everything in the queue on each +cycle. This means that the data stream is a bit erratic. + +The first part of the question is whether [hid] should output everything it +finds in the event queue, or just the most recent event. + +- buttons output every event, since its state change (on/off) triggers something. + +- For absolute axes, it probably should just output the most recent event per + poll, since absolute axes are position, and its not really necessary to know + how many events there were between [hid] polls, just the position where it + ended up. + diff --git a/doc/buttongate-help.pd b/doc/buttongate-help.pd index 646e899..23091e6 100644 --- a/doc/buttongate-help.pd +++ b/doc/buttongate-help.pd @@ -29,7 +29,7 @@ optional control messages to the HID.; #X text 23 348 Keyboard keys can also be used to control this object. You can get the [hid] keycode from here:; #X obj 324 368 ev_key-list; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 10 0; diff --git a/doc/deg2hid-help.pd b/doc/deg2hid-help.pd index 6022983..9b3f966 100644 --- a/doc/deg2hid-help.pd +++ b/doc/deg2hid-help.pd @@ -1,7 +1,7 @@ #N canvas 82 386 483 323 10; #X obj 5 2 cnv 15 450 20 empty empty [deg2hid] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 254 269 released under the GNU GPL; #X text 185 228 For more info:; #X obj 289 226 pddp_open all_about_hid_mapping; diff --git a/doc/hid2deg-help.pd b/doc/hid2deg-help.pd index a405536..54aff31 100644 --- a/doc/hid2deg-help.pd +++ b/doc/hid2deg-help.pd @@ -1,7 +1,7 @@ #N canvas 589 387 483 323 10; #X obj 5 2 cnv 15 450 20 empty empty [hid2deg] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 254 269 released under the GNU GPL; #X text 185 228 For more info:; #X obj 289 226 pddp_open all_about_hid_mapping; diff --git a/doc/hid2rad-help.pd b/doc/hid2rad-help.pd index 386429c..b04fe68 100644 --- a/doc/hid2rad-help.pd +++ b/doc/hid2rad-help.pd @@ -1,7 +1,7 @@ #N canvas 633 307 471 311 10; #X obj 5 2 cnv 15 450 20 empty empty [hid2rad] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 254 269 released under the GNU GPL; #X text 185 228 For more info:; #X obj 289 226 pddp_open all_about_hid_mapping; diff --git a/doc/hid_average-help.pd b/doc/hid_average-help.pd index 04ecdb1..8133973 100644 --- a/doc/hid_average-help.pd +++ b/doc/hid_average-help.pd @@ -16,7 +16,7 @@ -1 -1 0 1; #X obj 5 2 cnv 15 450 20 empty empty [hid_average] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X obj 101 221 hid_average; #X text 18 36 Smooths a stream of numbers using weighted averaging. By default \, the average is the last 10 values. You can set this using diff --git a/doc/hid_centered-help.pd b/doc/hid_centered-help.pd index a9f3ad8..5e4173d 100644 --- a/doc/hid_centered-help.pd +++ b/doc/hid_centered-help.pd @@ -1,7 +1,7 @@ #N canvas 389 382 468 357 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_centered] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 334 released under the GNU GPL; diff --git a/doc/hid_cube-help.pd b/doc/hid_cube-help.pd index dc36075..00dec9e 100644 --- a/doc/hid_cube-help.pd +++ b/doc/hid_cube-help.pd @@ -1,7 +1,7 @@ #N canvas 556 145 472 353 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_graph] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 314 released under the GNU GPL; diff --git a/doc/hid_cuberoot-help.pd b/doc/hid_cuberoot-help.pd index 3705f25..4514224 100644 --- a/doc/hid_cuberoot-help.pd +++ b/doc/hid_cuberoot-help.pd @@ -1,7 +1,7 @@ #N canvas 416 140 464 319 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_cuberoot] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 280 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 294 released under the GNU GPL; diff --git a/doc/hid_exp-help.pd b/doc/hid_exp-help.pd index 989047c..1dd0541 100644 --- a/doc/hid_exp-help.pd +++ b/doc/hid_exp-help.pd @@ -1,7 +1,7 @@ #N canvas 567 104 472 353 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_exp] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 314 released under the GNU GPL; diff --git a/doc/hid_graph-help.pd b/doc/hid_graph-help.pd index 67d5a3d..21155dc 100644 --- a/doc/hid_graph-help.pd +++ b/doc/hid_graph-help.pd @@ -1,7 +1,7 @@ #N canvas 61 248 495 470 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_graph] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 410 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 424 released under the GNU GPL; diff --git a/doc/hid_invert-help.pd b/doc/hid_invert-help.pd index d67eaf4..5203a36 100644 --- a/doc/hid_invert-help.pd +++ b/doc/hid_invert-help.pd @@ -1,7 +1,7 @@ #N canvas 380 628 469 312 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_invert] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 284 released under the GNU GPL; diff --git a/doc/hid_log-help.pd b/doc/hid_log-help.pd index b2b8ae3..a5ccaf2 100644 --- a/doc/hid_log-help.pd +++ b/doc/hid_log-help.pd @@ -1,7 +1,7 @@ #N canvas 567 104 472 353 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_log] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 314 released under the GNU GPL; diff --git a/doc/hid_lowpass-help.pd b/doc/hid_lowpass-help.pd index fa8f26d..549952c 100644 --- a/doc/hid_lowpass-help.pd +++ b/doc/hid_lowpass-help.pd @@ -1,7 +1,7 @@ #N canvas 119 269 475 392 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_lowpass] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 340 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 354 released under the GNU GPL; diff --git a/doc/hid_menu-help.pd b/doc/hid_menu-help.pd index 3297a76..4f9b3b4 100644 --- a/doc/hid_menu-help.pd +++ b/doc/hid_menu-help.pd @@ -1,7 +1,7 @@ #N canvas 380 628 473 316 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_menu] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 284 released under the GNU GPL; diff --git a/doc/hid_one2four-help.pd b/doc/hid_one2four-help.pd index ac3d50c..e4f9588 100644 --- a/doc/hid_one2four-help.pd +++ b/doc/hid_one2four-help.pd @@ -1,7 +1,7 @@ #N canvas 427 177 464 315 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_one2four] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 284 released under the GNU GPL; diff --git a/doc/hid_one2three-help.pd b/doc/hid_one2three-help.pd index f8c5a69..3a9ce78 100644 --- a/doc/hid_one2three-help.pd +++ b/doc/hid_one2three-help.pd @@ -1,7 +1,7 @@ #N canvas 541 218 473 316 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_one2three] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 284 released under the GNU GPL; diff --git a/doc/hid_one2two-help.pd b/doc/hid_one2two-help.pd index 0228c8c..6d5e201 100644 --- a/doc/hid_one2two-help.pd +++ b/doc/hid_one2two-help.pd @@ -1,7 +1,7 @@ #N canvas 541 218 473 316 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_one2two] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 284 released under the GNU GPL; diff --git a/doc/hid_polar-help.pd b/doc/hid_polar-help.pd index 5b40fc6..7dbf79c 100644 --- a/doc/hid_polar-help.pd +++ b/doc/hid_polar-help.pd @@ -1,7 +1,7 @@ #N canvas 601 232 482 455 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_polar] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 244 411 released under the GNU GPL; #X floatatom 100 248 5 0 0 0 - - -; #X floatatom 100 335 7 0 0 0 radius-> - -; diff --git a/doc/hid_rel2abs-help.pd b/doc/hid_rel2abs-help.pd index d00586f..5c4b4df 100644 --- a/doc/hid_rel2abs-help.pd +++ b/doc/hid_rel2abs-help.pd @@ -1,7 +1,7 @@ #N canvas 435 259 469 312 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_invert] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 270 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 284 released under the GNU GPL; diff --git a/doc/hid_smooth-help.pd b/doc/hid_smooth-help.pd index b19e9f7..6d55ca0 100644 --- a/doc/hid_smooth-help.pd +++ b/doc/hid_smooth-help.pd @@ -13,7 +13,7 @@ -1 -1 16509 1; #X obj 5 2 cnv 15 450 20 empty empty [hid_smooth] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X obj 102 221 hid_smooth; #X text 18 36 Smooths a stream of numbers using weighted averaging of the last 10 values. This object is an shortcut for [hid_average] diff --git a/doc/hid_spiral-help.pd b/doc/hid_spiral-help.pd index ab93da4..924d3bb 100644 --- a/doc/hid_spiral-help.pd +++ b/doc/hid_spiral-help.pd @@ -1,7 +1,7 @@ #N canvas 56 302 475 480 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_spiral] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 245 451 released under the GNU GPL; #X floatatom 70 288 5 0 0 0 - - -; #X floatatom 70 375 5 0 0 0 radius-> - -; diff --git a/doc/hid_square-help.pd b/doc/hid_square-help.pd index 02796eb..4df5232 100644 --- a/doc/hid_square-help.pd +++ b/doc/hid_square-help.pd @@ -1,7 +1,7 @@ #N canvas 556 145 476 357 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_square] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 314 released under the GNU GPL; diff --git a/doc/hid_squareroot-help.pd b/doc/hid_squareroot-help.pd index d2b4c6f..600c1b6 100644 --- a/doc/hid_squareroot-help.pd +++ b/doc/hid_squareroot-help.pd @@ -1,7 +1,7 @@ #N canvas 416 140 476 357 10; #X obj 5 2 cnv 15 450 20 empty empty [hid_squareroot] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 314 released under the GNU GPL; diff --git a/doc/joystick-help.pd b/doc/joystick-help.pd index 98f651a..26b4172 100644 --- a/doc/joystick-help.pd +++ b/doc/joystick-help.pd @@ -35,7 +35,7 @@ ; #X text 218 426 released under the GNU GPL; #X text 414 426 $Author: eighthave $; -#X text 414 413 $Revision: 1.10 $; +#X text 414 413 $Revision: 1.11 $; #X obj 239 375 pddp_open all_about_hid; #X text 130 376 For more info:; #X floatatom 245 234 5 0 0 3 hat0X - -; @@ -99,7 +99,7 @@ btn_8 btn_9; #X obj 440 92 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1 ; #X text 333 73 Select your device and turn on to make noise:; -#X obj 619 3 pddp; +#X msg 619 3 pddp; #X msg 503 125 open \$1; #X obj 503 105 hradio 15 1 1 8 \$0-device-number empty choose_a_device 0 -6 1 9 -262144 -1 -1 2; diff --git a/doc/keyboard-help.pd b/doc/keyboard-help.pd index b47ca2b..866957e 100644 --- a/doc/keyboard-help.pd +++ b/doc/keyboard-help.pd @@ -14,7 +14,7 @@ ; #X text 218 446 released under the GNU GPL; #X text 414 446 $Author: eighthave $; -#X text 414 433 $Revision: 1.3 $; +#X text 414 433 $Revision: 1.4 $; #X obj 348 402 pddp_open all_about_hid; #X text 239 403 For more info:; #X msg 220 112 open 3; @@ -76,7 +76,7 @@ will get keyboard events.; #X obj 75 315 route key_4 key_5 key_6 key_7 key_8 key_9 key_10 key_11 key_12 key_13 key_14 key_15 key_16 key_17 key_18 key_19 key_20 key_21 key_22 key_23 key_24 key_25 key_26 key_27; -#X obj 519 3 pddp; +#X msg 519 3 pddp; #X connect 0 0 16 0; #X connect 4 0 2 0; #X connect 4 1 3 0; diff --git a/doc/keygate-help.pd b/doc/keygate-help.pd index 06d27e6..a3edf3a 100644 --- a/doc/keygate-help.pd +++ b/doc/keygate-help.pd @@ -24,7 +24,7 @@ inlet takes the data to be gated.; #X text 18 89 The "f" key on the any keyboard controls this gate:; #X text 310 263 <-- key released; #X text 41 264 key pressed -->; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 14 0; diff --git a/doc/mouse-help.pd b/doc/mouse-help.pd index 0ac3cbc..79290aa 100644 --- a/doc/mouse-help.pd +++ b/doc/mouse-help.pd @@ -119,7 +119,7 @@ ; #X text 228 436 released under the GNU GPL; #X text 424 436 $Author: eighthave $; -#X text 424 423 $Revision: 1.12 $; +#X text 424 423 $Revision: 1.13 $; #X obj 466 382 pddp_open all_about_hid; #X text 357 383 For more info:; #X obj 601 334 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 @@ -132,7 +132,7 @@ in each axis to calibrate it.; #X text 13 111 turn on polling:; #X msg 180 146 refresh; #X obj 130 171 mouse 0; -#X obj 619 3 pddp; +#X msg 619 3 pddp; #X msg 500 148 open \$1; #X obj 500 128 hradio 15 1 1 8 \$0-device-number empty choose_a_device 0 -6 1 9 -262144 -1 -1 4; diff --git a/doc/notescale-help.pd b/doc/notescale-help.pd index 10ec4f2..12992e0 100644 --- a/doc/notescale-help.pd +++ b/doc/notescale-help.pd @@ -3,7 +3,7 @@ #X floatatom 26 160 0 0 0 0 - - -; #X obj 2 2 cnv 15 450 20 empty empty [notescale] 2 11 1 18 -233017 -66577 0; -#X obj 418 3 pddp; +#X msg 418 3 pddp; #X floatatom 137 266 5 0 0 0 - - -; #X obj 140 330 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; @@ -14,7 +14,7 @@ #X floatatom 297 160 0 0 0 0 - - -; #X obj 213 83 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -225271 -1 -1 0 0; -#X text 17 426 $Revision: 1.2 $$Date: 2005-04-13 03:47:19 $; +#X text 17 426 $Revision: 1.3 $$Date: 2006-03-17 04:58:30 $; #X text 18 439 $Author: eighthave $; #X obj 140 244 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262131 -1 -1 0 0; diff --git a/doc/rad2hid-help.pd b/doc/rad2hid-help.pd index 9c1743c..654a01e 100644 --- a/doc/rad2hid-help.pd +++ b/doc/rad2hid-help.pd @@ -1,7 +1,7 @@ #N canvas 147 313 467 307 10; #X obj 5 2 cnv 15 450 20 empty empty [rad2hid] 2 11 1 18 -233017 -66577 0; -#X obj 422 3 pddp; +#X msg 422 3 pddp; #X text 254 269 released under the GNU GPL; #X text 185 228 For more info:; #X obj 289 226 pddp_open all_about_hid_mapping; -- cgit v1.2.1