blob: b47ca2b6a7930a2f276f9c4d05be9cced6eefd7f (
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
|
#N canvas 109 184 567 478 10;
#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1
;
#X obj 11 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X symbolatom 168 222 12 0 0 0 code - -;
#X floatatom 296 222 5 0 0 1 value - -;
#X obj 168 195 unpack symbol float;
#X text 239 238 buttons;
#X obj 2 2 cnv 15 550 20 empty empty [keyboard] 2 11 1 18 -233017 -66577
0;
#X msg 215 93 open 1;
#X text 1 432 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 218 446 released under the GNU GPL;
#X text 414 446 $Author: eighthave $;
#X text 414 433 $Revision: 1.3 $;
#X obj 348 402 pddp_open all_about_hid;
#X text 239 403 For more info:;
#X msg 220 112 open 3;
#X msg 225 131 open 5;
#X obj 168 154 keyboard 0;
#X obj 32 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X obj 53 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X obj 74 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X obj 95 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X obj 116 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 137 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 158 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 179 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 200 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 221 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 242 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 263 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 284 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 305 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 326 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 347 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 368 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 389 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 410 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 431 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 452 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 473 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 494 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X text 117 270 Most keyboards can detect multiple keys at the same
time. You can test yours by pressing and holding keys and counting
how many "X"s are shown below;
#X text 8 36 Use a keyboard device with Pd. This object gives you raw
access to the keyboard events. Pd does not need to have focus in order
get the key events. No matter which application has focus \, this object
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 connect 0 0 16 0;
#X connect 4 0 2 0;
#X connect 4 1 3 0;
#X connect 7 0 16 0;
#X connect 14 0 16 0;
#X connect 15 0 16 0;
#X connect 16 0 4 0;
#X connect 16 0 42 0;
#X connect 42 0 1 0;
#X connect 42 1 17 0;
#X connect 42 2 18 0;
#X connect 42 3 19 0;
#X connect 42 4 20 0;
#X connect 42 5 21 0;
#X connect 42 6 22 0;
#X connect 42 7 23 0;
#X connect 42 8 24 0;
#X connect 42 9 25 0;
#X connect 42 10 26 0;
#X connect 42 11 27 0;
#X connect 42 12 28 0;
#X connect 42 13 29 0;
#X connect 42 14 30 0;
#X connect 42 15 31 0;
#X connect 42 16 32 0;
#X connect 42 17 33 0;
#X connect 42 18 34 0;
#X connect 42 19 35 0;
#X connect 42 20 36 0;
#X connect 42 21 37 0;
#X connect 42 22 38 0;
#X connect 42 23 39 0;
|