#N canvas 242 96 932 657 10; #X msg 233 353 abs abs_y 55; #X floatatom 27 484 5 0 0 0 - - -; #X floatatom 83 484 5 0 0 0 - - -; #X floatatom 63 440 6 0 0 0 - - -; #X obj 129 122 tgl 35 0 empty empty empty 0 -6 0 8 -24198 -1 -1 25 25; #X floatatom 571 385 12 0 0 1 value - -; #X symbolatom 531 401 15 0 0 1 event_code - -; #X symbolatom 492 417 15 0 0 1 event_type - -; #X obj 2 2 cnv 15 900 20 empty empty [hid] 2 11 1 18 -233017 -66577 0; #X text 246 368 outlet message format:; #X obj 772 104 ev-list; #X obj 772 155 ev_syn-list; #X obj 772 177 ev_key-list; #X obj 772 199 ev_rel-list; #X obj 772 221 ev_abs-list; #X obj 772 243 ev_msc-list; #X obj 772 265 ev_led-list; #X obj 772 287 ev_snd-list; #X obj 772 309 ev_rep-list; #X obj 772 331 ev_ff-list; #X obj 772 353 ev_ff_status-list; #X text 740 85 Event Types:; #X text 740 136 Event Codes:; #X floatatom 138 388 5 0 0 1 ev_syn - -; #X obj 111 387 +; #X msg 111 367 1; #X msg 402 117 close; #X msg 402 96 refresh; #X text 463 94 refresh device list; #X text 537 532 For more info:; #X text 49 588 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 266 602 released under the GNU GPL; #X text 472 589 $Revision: 1.23 $$Date: 2006-05-28 20:13:58 $; #X text 473 602 $Author: eighthave $; #X msg 421 266 poll 20; #X msg 359 266 poll 2; #X text 355 251 start polling and set the poll delay in ms; #X text 462 28 !!! This software is very much alpha \, so any aspect of it could change without notice !!!; #X obj 16 336 route key rel abs syn; #X obj 9 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 ; #N canvas 278 328 631 544 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 -66577 0; #X text 32 118 EVENT CODE; #X text 162 118 #define; #X text 232 118 number; #X text 32 133 -----------------------------------; #X text 32 148 X Axis; #X text 32 163 Y Axis; #X text 32 178 Z Axis; #X text 32 193 Horizontal Wheel; #X text 32 208 Dial; #X text 32 223 Wheel; #X text 32 238 Misc; #X text 162 148 REL_X; #X text 162 163 REL_Y; #X text 162 178 REL_Z; #X text 162 193 REL_HWHEEL; #X text 162 208 REL_DIAL; #X text 162 223 REL_WHEEL; #X text 162 238 REL_MISC; #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; #X text 307 148 Absolute X; #X text 307 163 Absolute Y; #X text 307 178 Absolute Z; #X text 307 193 RX; #X text 307 208 RY; #X text 307 223 RZ; #X text 307 238 Throttle; #X text 307 253 Rudder; #X text 307 268 Wheel; #X text 307 283 Gas Pedal; #X text 307 298 Brake Pedal; #X text 307 313 Hat Switch 0 X-axis; #X text 307 328 Hat Switch 0 Y-axis; #X text 307 343 Hat Switch 1 X-axis; #X text 307 358 Hat Switch 1 Y-axis; #X text 307 373 Hat Switch 2 X-axis; #X text 307 388 Hat Switch 2 Y-axis; #X text 307 403 Hat Switch 3 X-axis; #X text 307 418 Hat Switch 3 Y-axis; #X text 307 433 Pressure; #X text 307 448 Distance; #X text 307 463 Tilt X-Axis; #X text 307 478 Tilt Y-Axis; #X text 307 493 Misc; #X text 457 148 ABS_X; #X text 457 163 ABS_Y; #X text 457 178 ABS_Z; #X text 457 193 ABS_RX; #X text 457 208 ABS_RY; #X text 457 223 ABS_RZ; #X text 457 238 ABS_THROTTLE; #X text 457 253 ABS_RUDDER; #X text 457 268 ABS_WHEEL; #X text 457 283 ABS_GAS; #X text 457 298 ABS_BRAKE; #X text 457 313 ABS_HAT0X; #X text 457 328 ABS_HAT0Y; #X text 457 343 ABS_HAT1X; #X text 457 358 ABS_HAT1Y; #X text 457 373 ABS_HAT2X; #X text 457 388 ABS_HAT2Y; #X text 457 403 ABS_HAT3X; #X text 457 418 ABS_HAT3Y; #X text 457 433 ABS_PRESSURE; #X text 457 448 ABS_DISTANCE; #X text 457 463 ABS_TILT_X; #X text 457 478 ABS_TILT_Y; #X text 457 493 ABS_MISC; #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 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 774 419 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 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 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 774 399 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 774 439 pd Event_Values; #X floatatom 140 484 5 0 0 0 - - -; #X obj 421 439 route abs_hat0x abs_hat0y abs_hat1x abs_hat1y; #X floatatom 421 461 7 0 0 0 - - -; #X msg 179 121 1; #X msg 179 141 0; #X msg 402 138 print; #X obj 304 295 hid 0; #X text 465 118 close the device; #X text 465 139 print the device and element lists; #X text 9 257 Any non-zero value starts polling \,; #X text 8 270 0 stops the polling. If the number; #X text 9 283 is greater than 1 \, then the poll; #X text 9 296 delay is set to that number.; #X msg 489 266 poll 2000; #X obj 27 464 route rel_x rel_y rel_z rel_wheel; #X floatatom 196 484 5 0 0 0 - - -; #X obj 492 366 unpack s s f; #X msg 203 68 open \$1; #X obj 203 50 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 -1 2; #X floatatom 190 71 1 0 0 0 - - -; #X text 270 382 event_type event_code value; #X obj 63 419 route abs_x abs_y abs_z abs_rx abs_ry abs_rz abs_throttle ; #X obj 421 477 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; #X floatatom 498 461 7 0 0 0 - - -; #X obj 498 477 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X floatatom 576 461 7 0 0 0 - - -; #X obj 576 477 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X floatatom 653 461 7 0 0 0 - - -; #X obj 653 477 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X floatatom 113 440 6 0 0 0 - - -; #X floatatom 163 440 6 0 0 0 - - -; #X floatatom 213 440 6 0 0 0 - - -; #X floatatom 263 440 6 0 0 0 - - -; #X floatatom 313 440 6 0 0 0 - - -; #X floatatom 363 440 6 0 0 0 - - -; #X obj 39 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 ; #X obj 69 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 ; #X obj 99 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1 ; #X obj 129 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 159 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 189 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 219 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 249 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 279 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 309 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 339 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 369 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 399 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 9 505 route btn_0 btn_1 btn_2 btn_3 btn_4 btn_5 btn_6 btn_7 btn_8 btn_9 btn_10 btn_11 btn_12 btn_13 btn_14 btn_15; #X obj 429 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 459 547 tgl 25 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1; #X obj 234 334 cyclone/prepend set; #X msg 37 196 debug \$1; #X obj 37 174 hradio 15 1 1 10 empty empty empty 0 -6 0 8 -262144 -1 -1 9; #X obj 646 531 pddp/pddp_open all_about_hid; #X obj 232 91 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 -1 0; #X msg 233 111 open mouse \$1; #X text 541 208 Gravis/Destroyer Tiltpad; #X msg 400 207 open 0x047D 0x4008; #X obj 253 135 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 -1 0; #X msg 262 155 open keyboard \$1; #X msg 298 190 info; #N canvas 477 37 395 219 see 0; #N canvas 247 287 550 277 route 0; #X obj 53 13 inlet; #X obj 98 225 outlet; #X obj 45 225 outlet; #X obj 198 203 symbol; #X obj 198 225 outlet; #X obj 258 203 symbol; #X obj 258 225 outlet; #X obj 318 203 symbol; #X obj 318 225 outlet; #X obj 378 203 symbol; #X obj 378 225 outlet; #X obj 438 203 symbol; #X obj 438 225 outlet; #X obj 52 62 route open device poll product manufacturer transport vendorID productID; #X obj 148 224 outlet; #X connect 0 0 13 0; #X connect 3 0 4 0; #X connect 5 0 6 0; #X connect 7 0 8 0; #X connect 9 0 10 0; #X connect 11 0 12 0; #X connect 13 0 2 0; #X connect 13 1 1 0; #X connect 13 2 14 0; #X connect 13 3 3 0; #X connect 13 4 5 0; #X connect 13 5 7 0; #X connect 13 6 9 0; #X connect 13 7 11 0; #X restore 55 66 pd route info; #X obj 54 88 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 61 23 inlet; #X obj 74 44 print info; #X symbolatom 255 94 0 0 0 0 productID - -; #X symbolatom 255 113 0 0 0 0 vendorID - -; #X symbolatom 255 132 0 0 0 0 transport - -; #X symbolatom 255 152 0 0 0 0 manufacturer - -; #X symbolatom 137 173 0 0 0 0 product - -; #X floatatom 48 141 5 0 0 0 device - -; #X floatatom 48 163 5 0 0 0 poll - -; #X connect 0 0 1 0; #X connect 0 1 9 0; #X connect 0 2 10 0; #X connect 0 3 8 0; #X connect 0 4 7 0; #X connect 0 5 6 0; #X connect 0 6 5 0; #X connect 0 7 4 0; #X connect 2 0 0 0; #X connect 2 0 3 0; #X restore 512 290 pd see device info; #X msg 397 179 open 0x046d 0xc01d; #X text 535 179 Logitech USB-PS/2 Optical Mouse; #N canvas 0 22 458 308 test 1; #X obj 60 23 inlet; #X obj 61 53 route not_implemented; #X obj 65 100 route notimp_64; #X obj 165 138 print; #X floatatom 69 146 5 0 0 0 - - -; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 2 1 3 0; #X restore 490 330 pd test; #X obj 36 63 hradio 15 1 0 8 empty empty empty 0 -6 0 8 -262144 -1 -1 0; #X msg 45 83 open joystick \$1; #X connect 4 0 49 0; #X connect 23 0 24 1; #X connect 24 0 23 0; #X connect 25 0 24 0; #X connect 26 0 49 0; #X connect 27 0 49 0; #X connect 34 0 49 0; #X connect 35 0 49 0; #X connect 38 0 91 0; #X connect 38 1 57 0; #X connect 38 2 64 0; #X connect 38 3 25 0; #X connect 44 0 45 0; #X connect 44 1 66 0; #X connect 44 2 68 0; #X connect 44 3 70 0; #X connect 45 0 65 0; #X connect 46 0 49 0; #X connect 47 0 49 0; #X connect 48 0 49 0; #X connect 49 0 38 0; #X connect 49 0 59 0; #X connect 49 0 94 0; #X connect 49 0 108 0; #X connect 49 1 105 0; #X connect 56 0 49 0; #X connect 57 0 1 0; #X connect 57 1 2 0; #X connect 57 2 43 0; #X connect 57 3 58 0; #X connect 59 0 7 0; #X connect 59 1 6 0; #X connect 59 2 5 0; #X connect 60 0 49 0; #X connect 61 0 60 0; #X connect 61 0 62 0; #X connect 64 0 3 0; #X connect 64 1 72 0; #X connect 64 2 73 0; #X connect 64 3 74 0; #X connect 64 4 75 0; #X connect 64 5 76 0; #X connect 64 6 77 0; #X connect 64 7 44 0; #X connect 66 0 67 0; #X connect 68 0 69 0; #X connect 70 0 71 0; #X connect 91 0 39 0; #X connect 91 1 78 0; #X connect 91 2 79 0; #X connect 91 3 80 0; #X connect 91 4 81 0; #X connect 91 5 82 0; #X connect 91 6 83 0; #X connect 91 7 84 0; #X connect 91 8 85 0; #X connect 91 9 86 0; #X connect 91 10 87 0; #X connect 91 11 88 0; #X connect 91 12 89 0; #X connect 91 13 90 0; #X connect 91 14 92 0; #X connect 91 15 93 0; #X connect 94 0 0 0; #X connect 95 0 49 0; #X connect 96 0 95 0; #X connect 98 0 99 0; #X connect 99 0 49 0; #X connect 101 0 49 0; #X connect 102 0 103 0; #X connect 103 0 49 0; #X connect 104 0 49 0; #X connect 106 0 49 0; #X connect 109 0 110 0; #X connect 110 0 49 0;