aboutsummaryrefslogtreecommitdiff
path: root/linuxevent-help.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-10-11 23:40:49 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-10-11 23:40:49 +0000
commitea0b95a8576aeef335345cf66f93aed1ba0c24de (patch)
treea4a396c76fbcb815f79ccae826bab703cb614e99 /linuxevent-help.pd
parent194aff9548c94e8790eea7bdeb649284585c1815 (diff)
cleaned up help; added joystick button codes
svn path=/trunk/externals/hcs/; revision=2102
Diffstat (limited to 'linuxevent-help.pd')
-rw-r--r--linuxevent-help.pd263
1 files changed, 157 insertions, 106 deletions
diff --git a/linuxevent-help.pd b/linuxevent-help.pd
index 9b0971a..40eb47e 100644
--- a/linuxevent-help.pd
+++ b/linuxevent-help.pd
@@ -1,21 +1,21 @@
-#N canvas 287 167 569 543 10;
-#X floatatom 241 326 5 0 0 3 code - -;
-#X floatatom 305 326 5 0 0 3 value - -;
-#X floatatom 177 326 4 0 0 3 type - -;
-#X floatatom 104 326 9 0 0 3 time - -;
-#X msg 172 202 start;
-#X msg 173 224 stop;
-#X obj 114 303 linuxevent /dev/input/event0;
-#X obj 114 184 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#N canvas 154 46 570 623 10;
+#X floatatom 234 320 5 0 0 3 code - -;
+#X floatatom 298 320 5 0 0 3 value - -;
+#X floatatom 170 320 4 0 0 3 type - -;
+#X floatatom 97 320 9 0 0 3 time - -;
+#X msg 165 196 start;
+#X msg 166 218 stop;
+#X obj 107 297 linuxevent /dev/input/event0;
+#X obj 107 178 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X obj 25 184 metro 20;
-#X text 293 260 time between polls (ms);
-#X obj 25 162 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 18 178 metro 20;
+#X text 286 254 time between polls (ms);
+#X obj 18 156 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
-#X msg 45 162 stop;
-#X msg 226 260 delay 20;
-#X obj 114 135 key;
-#N canvas 278 328 611 524 Event_Codes 0;
+#X msg 38 156 stop;
+#X msg 219 254 delay 20;
+#X obj 107 129 key;
+#N canvas 278 328 627 540 Event_Codes 0;
#X text 28 48 (For a complete listing of Linux Input Events \, see
/usr/include/linux/input.h.);
#X obj 11 9 cnv 15 580 30 empty empty Event_Codes 20 12 1 14 -225271
@@ -38,13 +38,13 @@
#X text 162 208 REL_DIAL;
#X text 162 223 REL_WHEEL;
#X text 162 238 REL_MISC;
-#X text 232 148 0;
-#X text 232 163 1;
-#X text 232 178 2;
-#X text 232 193 6;
-#X text 232 208 7;
-#X text 232 223 8;
-#X text 232 238 9;
+#X text 247 148 0;
+#X text 247 163 1;
+#X text 247 178 2;
+#X text 247 193 6;
+#X text 247 208 7;
+#X text 247 223 8;
+#X text 247 238 9;
#X text 307 118 EVENT CODE;
#X text 457 118 #define;
#X text 547 118 number;
@@ -96,106 +96,157 @@
#X text 457 463 ABS_TILT_X;
#X text 457 478 ABS_TILT_Y;
#X text 457 493 ABS_MISC;
-#X text 547 148 0;
-#X text 547 163 1;
-#X text 547 178 2;
-#X text 547 193 3;
-#X text 547 208 4;
-#X text 547 223 5;
-#X text 547 238 6;
-#X text 547 253 7;
-#X text 547 268 8;
-#X text 547 283 9;
-#X text 547 298 10;
-#X text 547 313 16;
-#X text 547 328 17;
-#X text 547 343 18;
-#X text 547 358 19;
-#X text 547 373 20;
-#X text 547 388 21;
-#X text 547 403 22;
-#X text 547 418 23;
-#X text 547 433 24;
-#X text 547 448 25;
-#X text 547 463 26;
-#X text 547 478 27;
-#X text 547 493 28;
+#X text 563 148 0;
+#X text 563 163 1;
+#X text 563 178 2;
+#X text 563 193 3;
+#X text 563 208 4;
+#X text 563 223 5;
+#X text 563 238 6;
+#X text 563 253 7;
+#X text 563 268 8;
+#X text 563 283 9;
+#X text 563 298 10;
+#X text 563 313 16;
+#X text 563 328 17;
+#X text 563 343 18;
+#X text 563 358 19;
+#X text 563 373 20;
+#X text 563 388 21;
+#X text 563 403 22;
+#X text 563 418 23;
+#X text 563 433 24;
+#X text 563 448 25;
+#X text 563 463 26;
+#X text 563 478 27;
+#X text 563 493 28;
#X obj 30 89 cnv 15 250 25 empty empty Relative_Axes 20 12 1 12 -241660
-66577 0;
#X obj 308 89 cnv 15 280 25 empty empty Absolute_Axes 20 12 1 12 -241660
-66577 0;
#X text 307 133 ----------------------------------------;
-#X restore 439 368 pd Event_Codes;
-#N canvas 546 568 420 271 Event_Types 0;
+#X text 32 285 EVENT CODE;
+#X text 138 285 #define;
+#X text 232 285 number;
+#X text 32 300 -----------------------------------;
+#X obj 30 256 cnv 15 250 25 empty empty Joystick_Buttons 20 12 1 12
+-241660 -66577 0;
+#X text 138 315 BTN_TRIGGER;
+#X text 32 315 Trigger;
+#X text 32 330 Thumb;
+#X text 32 345 Thumb 2;
+#X text 32 360 Top;
+#X text 32 375 Top 2;
+#X text 32 390 Pinkie;
+#X text 32 405 Base 1;
+#X text 138 404 BTN_BASE;
+#X text 138 330 BTN_THUMB;
+#X text 138 345 BTN_THUMB2;
+#X text 138 360 BTN_TOP;
+#X text 138 375 BTN_TOP2;
+#X text 138 390 BTN_PINKIE;
+#X text 245 315 288;
+#X text 245 330 289;
+#X text 245 345 290;
+#X text 245 360 291;
+#X text 245 375 292;
+#X text 245 390 293;
+#X text 245 405 294;
+#X text 245 419 295;
+#X text 245 434 296;
+#X text 245 448 297;
+#X text 138 418 BTN_BASE2;
+#X text 138 433 BTN_BASE3;
+#X text 138 447 BTN_BASE4;
+#X text 32 419 Base 2;
+#X text 32 434 Base 3;
+#X text 32 448 Base 4;
+#X text 32 463 Base 5;
+#X text 32 477 Base 6;
+#X text 138 462 BTN_BASE5;
+#X text 138 476 BTN_BASE6;
+#X text 245 463 298;
+#X text 245 477 299;
+#X restore 125 564 pd Event_Codes;
+#N canvas 50 289 469 317 Event_Types 0;
#X text 28 48 (For a complete listing of Linux Input Events \, see
/usr/include/linux/input.h.);
-#X text 84 94 EVENT TYPE;
-#X text 84 109 -----------------------------------;
-#X text 84 124 RST;
-#X text 84 139 Keys and Buttons;
-#X text 84 154 Relative Axes;
-#X text 84 169 Absolute Axes;
-#X text 84 184 Misc Events;
-#X text 84 199 LED Event;
-#X text 84 214 Sounds;
-#X text 84 229 Autorepeat Values;
-#X text 84 244 Force Feedback;
-#X text 214 94 #define;
-#X text 214 124 EV_RST;
-#X text 214 139 EV_KEY;
-#X text 214 154 EV_REL;
-#X text 214 169 EV_ABS;
-#X text 214 184 EV_MSC;
-#X text 214 199 EV_LED;
-#X text 214 214 EV_SND;
-#X text 214 229 EV_REP;
-#X text 214 244 EV_FF;
-#X text 284 94 number;
-#X text 284 124 0;
-#X text 284 139 1;
-#X text 284 154 2;
-#X text 284 169 3;
-#X text 284 184 4;
-#X text 284 199 17;
-#X text 284 214 18;
-#X text 284 229 20;
-#X text 284 244 21;
+#X text 61 90 EVENT TYPE;
+#X text 61 135 Keys and Buttons;
+#X text 61 150 Relative Axes;
+#X text 61 165 Absolute Axes;
+#X text 61 180 Misc Events;
+#X text 61 195 LED Event;
+#X text 61 210 Sounds;
+#X text 61 225 Autorepeat Values;
+#X text 61 240 Force Feedback;
+#X text 230 90 #define;
+#X text 230 135 EV_KEY;
+#X text 230 150 EV_REL;
+#X text 230 165 EV_ABS;
+#X text 230 180 EV_MSC;
+#X text 230 195 EV_LED;
+#X text 230 210 EV_SND;
+#X text 230 225 EV_REP;
+#X text 230 240 EV_FF;
+#X text 315 90 number;
+#X text 331 120 0;
+#X text 331 135 1;
+#X text 331 150 2;
+#X text 331 165 3;
+#X text 331 180 4;
+#X text 331 195 17;
+#X text 331 210 18;
+#X text 331 225 20;
+#X text 331 240 21;
#X obj 11 9 cnv 15 400 30 empty empty Event_Types 20 12 1 14 -262131
-66577 0;
-#X restore 439 348 pd Event_Types;
-#N canvas 0 0 450 300 Event_Values 0;
+#X text 230 120 EV_SYN;
+#X text 61 270 Force Feedback Status;
+#X text 61 120 Syncronization Events;
+#X text 230 270 EV_FF_STATUS;
+#X text 331 270 23;
+#X text 61 105 -------------------------------------------;
+#X text 331 255 22;
+#X text 230 255 EV_PWR;
+#X text 61 255 Power Events (for UPS);
+#X restore 125 544 pd Event_Types;
+#N canvas 0 22 450 300 Event_Values 0;
#X text 28 48 (For a complete listing of Linux Input Events \, see
/usr/include/linux/input.h.);
#X obj 11 9 cnv 15 400 30 empty empty Event_Values 20 12 1 14 -261681
-66577 0;
-#X restore 439 388 pd Event_Values;
-#X text 8 373 Check the Pd console for supported event types and codes.
+#X restore 125 584 pd Event_Values;
+#X text 1 367 Check the Pd console for supported event types and codes.
This object will report them when it opens a device.;
-#X obj 9 8 cnv 15 550 30 empty empty linuxevent 20 12 1 16 -228992
+#X obj 2 2 cnv 15 550 30 empty empty linuxevent 20 12 1 16 -228992
-66577 0;
-#X text 17 50 [linuxevent] outputs raw events from the Linux Event
+#X text 10 44 [linuxevent] outputs raw events from the Linux Event
system. It is used for access the output of various Human Interface
Devices \, like mice \, joysticks \, tablets \, etc.;
-#X text 346 18 related HID objects:;
-#X obj 497 17 linuxhid;
-#X text 33 111 bang to get an update when polling is stopped.;
-#X msg 236 201 poll;
-#X msg 236 223 nopoll;
-#X text 153 183 start/stop polling (synonyms for the same thing);
-#X obj 114 155 sel 98;
-#X text 160 155 <- (type 'b' for a bang);
-#X text 15 413 Here's an example for using a joystick:;
-#X msg 72 441 start;
-#X msg 116 441 stop;
-#X obj 82 469 linuxevent-joystick /dev/input/event1;
-#X floatatom 336 498 2 0 0 3 button# - -;
-#X floatatom 393 497 2 0 0 3 button_value - -;
-#X floatatom 82 498 5 0 0 3 y-axis - -;
-#X floatatom 35 498 5 0 0 3 x-axis - -;
-#X floatatom 181 499 3 0 0 3 hat-X - -;
-#X floatatom 227 499 3 0 0 3 hat-Y - -;
-#X floatatom 131 499 5 0 0 3 twist - -;
-#X floatatom 270 498 5 0 0 3 throttle - -;
+#X text 260 547 related HID objects:;
+#X obj 411 546 linuxhid;
+#X text 26 105 bang to get an update when polling is stopped.;
+#X msg 229 195 poll;
+#X msg 229 217 nopoll;
+#X text 146 177 start/stop polling (synonyms for the same thing);
+#X obj 107 149 sel 98;
+#X text 153 149 <- (type 'b' for a bang);
+#X text 8 407 Here's an example for using a joystick:;
+#X msg 65 435 start;
+#X msg 109 435 stop;
+#X obj 75 463 linuxevent-joystick /dev/input/event1;
+#X floatatom 329 492 2 0 0 3 button# - -;
+#X floatatom 386 491 2 0 0 3 button_value - -;
+#X floatatom 75 492 5 0 0 3 y-axis - -;
+#X floatatom 28 492 5 0 0 3 x-axis - -;
+#X floatatom 174 493 3 0 0 3 hat-X - -;
+#X floatatom 220 493 3 0 0 3 hat-Y - -;
+#X floatatom 124 493 5 0 0 3 twist - -;
+#X floatatom 263 492 5 0 0 3 throttle - -;
+#X obj 411 575 all_about_hid;
+#X text 302 574 for more info:;
+#X text 6 562 detailed info:;
#X connect 4 0 6 0;
#X connect 5 0 6 0;
#X connect 6 0 3 0;