aboutsummaryrefslogtreecommitdiff
path: root/externals/deprecated/examples/linuxevent-joystick.pd
blob: 029b7f33552773ce039efa245a491f6f24310bc0 (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
#N canvas 455 201 722 483 10;
#X msg 35 43 start;
#X msg 44 62 stop;
#X obj 16 9 inlet;
#X obj 79 116 pack f f f;
#X obj 137 159 print UNKNOWN_JOYSTICK_EVENT_TYPE;
#X text 148 139 types (1=buttons 3=abs axes);
#X obj 167 256 print UNKNOWN_JOYSTICK_EVENT_CODE;
#X obj 275 409 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 306 409 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 337 409 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 369 408 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 400 408 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 431 409 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 557 410 bng 30 250 50 0 empty empty not_routed 33 6 1 8 -262144
-1 -1;
#X obj 275 386 route 288 289 290 291 292 293 294 295 296;
#X obj 464 409 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 493 408 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 525 408 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 79 139 route 3 1;
#X obj 38 378 outlet;
#X obj 59 357 outlet;
#X obj 80 337 outlet;
#X obj 102 317 outlet;
#X obj 123 297 outlet;
#X obj 144 277 outlet;
#X text 52 214 codes (0=X 1=Y 6=throttle 7=rudder \, 16=hat0X \, 17=hat0Y)
;
#X obj 456 338 outlet;
#X text 446 354 button_num;
#X text 537 355 button_value;
#X obj 556 339 outlet;
#X obj 456 272 unpack f f;
#X obj 456 308 - 288;
#X obj 16 86 linuxevent \$1;
#X obj 38 234 route 0 1 7 16 17 6;
#X connect 0 0 32 0;
#X connect 1 0 32 0;
#X connect 2 0 32 0;
#X connect 3 0 18 0;
#X connect 14 0 7 0;
#X connect 14 1 8 0;
#X connect 14 2 9 0;
#X connect 14 3 10 0;
#X connect 14 4 11 0;
#X connect 14 5 12 0;
#X connect 14 6 15 0;
#X connect 14 7 16 0;
#X connect 14 8 17 0;
#X connect 14 9 13 0;
#X connect 18 0 33 0;
#X connect 18 1 14 0;
#X connect 18 1 30 0;
#X connect 18 2 4 0;
#X connect 30 0 31 0;
#X connect 30 1 29 0;
#X connect 31 0 26 0;
#X connect 32 1 3 0;
#X connect 32 2 3 1;
#X connect 32 3 3 2;
#X connect 33 0 19 0;
#X connect 33 1 20 0;
#X connect 33 2 21 0;
#X connect 33 3 22 0;
#X connect 33 4 23 0;
#X connect 33 5 24 0;