aboutsummaryrefslogtreecommitdiff
path: root/doc/hid_centered-help.pd
blob: eef755e117af52b3e6a3e6e6563109a7b2c9c217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#N canvas 389 382 468 357 10;
#X declare -lib hid;
#X obj 5 2 cnv 15 450 20 empty empty hid_centered 2 11 1 18 -233017
-66577 0;
#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp;
#X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 244 334 released under the GNU GPL;
#X text 98 291 For more info:;
#X obj 202 289 pddp/pddplink ../all_about_hid_mapping.pd -text all_about_hid_mapping;
#X obj 102 234 hid/hid_centered;
#X obj 137 105 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 1
1;
#X msg 200 138 open \$1;
#X obj 200 118 hradio 15 1 1 8 \$0-device-number empty choose_a_device
0 -6 1 9 -262144 -1 -1 3;
#X obj 174 118 nbx 1 14 -1e+37 1e+37 0 0 empty \$0-device-number empty
0 -6 0 14 -166441 -1 -1 3 256;
#X obj 157 170 joystick 0;
#X obj 205 235 hid/hid_centered;
#X floatatom 205 256 5 0 0 0 Y - -;
#X floatatom 102 255 5 0 0 0 X - -;
#X floatatom 205 216 5 0 0 0 Y - -;
#X floatatom 102 215 5 0 0 0 X - -;
#X text 19 34 Convert the standard "0 to 1" [hid] format to "-1 to
1" so that 0 is the center point of the range. With a joystick \, for
example \, this can make the center point of the joystick (0 \, 0)
rather than (0.5 \, 0.5).;
#X connect 6 0 14 0;
#X connect 7 0 11 0;
#X connect 8 0 11 0;
#X connect 9 0 8 0;
#X connect 11 0 16 0;
#X connect 11 1 15 0;
#X connect 12 0 13 0;
#X connect 15 0 12 0;
#X connect 16 0 6 0;