aboutsummaryrefslogtreecommitdiff
path: root/doc/hid-help.pd
blob: 340480fb75ffb4e27f767e8c5ab9ec59ecf51e6b (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
#N canvas 156 27 943 666 10;
#X msg 390 265 ev_rel rel_x 2 3.57445e+09;
#X obj 390 244 prepend set;
#X obj 149 473 route rel_x rel_y;
#X floatatom 149 493 5 0 0 0 - - -;
#X floatatom 206 493 5 0 0 0 - - -;
#X msg 148 77 start;
#X msg 174 96 stop;
#X floatatom 531 375 12 0 0 1 time - -;
#X obj 438 355 unpack s s f f;
#X msg 239 57 open 0;
#X msg 246 75 open 1;
#X msg 253 93 open 2;
#X msg 259 111 open 3;
#X msg 265 129 open 4;
#X floatatom 206 454 7 0 0 0 - - -;
#X floatatom 264 454 7 0 0 0 - - -;
#X obj 86 81 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 25 25
;
#X floatatom 500 392 12 0 0 1 value - -;
#X symbolatom 468 409 10 0 0 1 eventcode - -;
#X symbolatom 438 428 15 0 0 1 eventtype - -;
#X obj 177 296 bng 35 250 50 0 empty empty event_received 38 18 1 9
-225280 -1 -1;
#X obj 2 2 cnv 15 900 20 empty empty [hid] 2 11 1 18 -233017 -66577
0;
#X text 362 287 outlet message format:;
#X obj 742 104 ev-list;
#X obj 742 155 ev_syn-list;
#X obj 742 177 ev_key-list;
#X obj 742 199 ev_rel-list;
#X obj 742 221 ev_abs-list;
#X obj 742 243 ev_msc-list;
#X obj 742 265 ev_led-list;
#X obj 742 287 ev_snd-list;
#X obj 742 309 ev_rep-list;
#X obj 742 331 ev_ff-list;
#X obj 742 353 ev_ff_status-list;
#X text 710 85 Event Types:;
#X text 710 136 Event Codes:;
#X obj 223 287 print INPUT_EVENT;
#X obj 223 266 spigot;
#X obj 269 266 tgl 17 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 93 345 route ev_key ev_rel ev_abs ev_syn;
#X floatatom 289 398 5 0 0 1 ev_syn - -;
#X obj 262 397 +;
#X msg 262 377 1;
#X msg 336 136 close;
#X text 380 136 probably not needed;
#X msg 336 113 refresh;
#X text 397 111 refresh device list;
#X obj 248 225 hid 2;
#X obj 94 524 unpack s f f;
#X obj 133 542 tgl 25 0 empty empty any_button 27 13 1 9 -195568 -1
-1 0 1;
#X obj 746 556 all_about_hid;
#X text 637 557 For more info:;
#X text 49 588 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 266 602 released under the GNU GPL;
#X text 472 589 $Revision: 1.8 $$Date: 2004-11-07 16:28:25 $;
#X text 473 602 $Author: eighthave $;
#X obj 206 433 route abs_x abs_y abs_z;
#X floatatom 322 454 7 0 0 0 - - -;
#X msg 398 180 poll 20;
#X msg 336 180 poll 2;
#X text 332 159 start polling and set the poll delay in ms;
#X text 386 301 event_type event_code value timestamp;
#X msg 465 180 poll 2000;
#X text 371 56 !!! This software is very much alpha \, so any aspect
of it could change without notice !!!;
#X text 650 400 REFRESH RATES;
#X text 660 415 ADB = 15.5 ms;
#X text 660 430 USB mice on Windows = 8-10 ms;
#X text 660 445 USB mice on GNU/Linux = 1-10 ms;
#X text 660 460 USB wireless mice = 12-20 ms;
#X text 660 475 PS/2 mouse = 5-25 ms;
#X text 660 490 P5 Glove = 22 ms;
#N canvas 0 22 454 304 JustFOrTestng 0;
#X msg 390 265 ev_rel rel_x 0 2.56485e+09;
#X obj 390 244 prepend set;
#X msg 148 77 start;
#X msg 174 96 stop;
#X msg 239 57 open 0;
#X msg 246 75 open 1;
#X msg 253 93 open 2;
#X msg 259 111 open 3;
#X msg 265 129 open 4;
#X obj 86 81 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 25
;
#X obj 223 266 spigot;
#X obj 269 266 tgl 17 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X msg 336 136 close;
#X text 380 136 probably not needed;
#X msg 336 113 refresh;
#X text 397 111 refresh device list;
#X msg 398 180 poll 20;
#X msg 336 180 poll 2;
#X text 332 159 start polling and set the poll delay in ms;
#X msg 465 180 poll 2000;
#X text 371 56 !!! This software is very much alpha \, so any aspect
of it could change without notice !!!;
#X obj 248 225 hid 1;
#X connect 1 0 0 0;
#X connect 2 0 21 0;
#X connect 3 0 21 0;
#X connect 4 0 21 0;
#X connect 5 0 21 0;
#X connect 6 0 21 0;
#X connect 7 0 21 0;
#X connect 8 0 21 0;
#X connect 9 0 21 0;
#X connect 11 0 10 1;
#X connect 12 0 21 0;
#X connect 14 0 21 0;
#X connect 16 0 21 0;
#X connect 17 0 21 0;
#X connect 19 0 21 0;
#X connect 21 0 10 0;
#X connect 21 0 1 0;
#X restore 446 483 pd JustFOrTestng;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
#X connect 5 0 47 0;
#X connect 6 0 47 0;
#X connect 8 0 19 0;
#X connect 8 1 18 0;
#X connect 8 2 17 0;
#X connect 8 3 7 0;
#X connect 9 0 47 0;
#X connect 10 0 47 0;
#X connect 11 0 47 0;
#X connect 12 0 47 0;
#X connect 13 0 47 0;
#X connect 16 0 47 0;
#X connect 37 0 36 0;
#X connect 37 0 20 0;
#X connect 38 0 37 1;
#X connect 39 0 48 0;
#X connect 39 1 2 0;
#X connect 39 2 56 0;
#X connect 39 3 42 0;
#X connect 40 0 41 1;
#X connect 41 0 40 0;
#X connect 42 0 41 0;
#X connect 43 0 47 0;
#X connect 45 0 47 0;
#X connect 47 0 37 0;
#X connect 47 0 39 0;
#X connect 47 0 1 0;
#X connect 47 0 8 0;
#X connect 48 1 49 0;
#X connect 56 0 14 0;
#X connect 56 1 15 0;
#X connect 56 2 57 0;
#X connect 58 0 47 0;
#X connect 59 0 47 0;
#X connect 62 0 47 0;