aboutsummaryrefslogtreecommitdiff
path: root/linuxevent-joystick.pd
blob: d3d5eda59ff97d4b88792a713e3be5639da25bfe (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
#N canvas 270 365 499 362 10;
#X obj 16 86 linuxevent /dev/input/event1;
#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 79 139 route 1 3;
#X obj 137 159 print UNKNOWN_JOYSTICK_EVENT_TYPE;
#X text 148 139 types (1=buttons 3=abs axes);
#X obj 108 187 route 0 1 6 7;
#X obj 194 209 print UNKNOWN_JOYSTICK_EVENT_CODE;
#X obj 151 249 print THROTTLE;
#X text 204 190 codes (0=X 1=Y 6=throttle 7=rudder);
#X obj 172 229 print RUDDER;
#X obj 129 269 print Y-AXIS;
#X obj 108 290 print X-AXIS;
#X connect 0 1 4 0;
#X connect 0 2 4 1;
#X connect 0 3 4 2;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 5 0;
#X connect 5 1 8 0;
#X connect 5 2 6 0;
#X connect 8 0 14 0;
#X connect 8 1 13 0;
#X connect 8 2 10 0;
#X connect 8 3 12 0;