/usr/lib/pd/extra/hid/mouse.pd is in pd-hid 0.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #N canvas 273 44 783 608 10;
#X obj 130 18 inlet;
#X obj 25 521 outlet;
#X obj 179 521 outlet;
#X obj 442 472 outlet;
#X obj 570 472 outlet;
#X obj 246 24 loadbang;
#X text 24 544 X;
#X text 184 544 Y;
#X text 444 493 wheel;
#X obj 25 323 mapping/autoscale -1 1;
#X obj 179 323 mapping/autoscale -1 1;
#X obj 137 288 route rel_x rel_y rel_wheel;
#X obj 398 313 print MOUSE_UNIMPLEMENTED_EVENT;
#X obj 195 210 route rel key;
#X text 554 493 button code/value list;
#X text 71 562 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 288 576 released under the GNU GPL;
#X text 484 576 $Author: eighthave $;
#X text 484 563 $Revision: 1.7 $;
#X msg 193 472 0;
#X msg 100 151 poll \$1;
#X obj 100 106 s \$0-poll;
#X obj 259 357 r \$0-poll;
#X obj 100 131 r \$0-poll;
#X obj 213 359 bang;
#X msg 33 472 0;
#X text 41 489 zero when no motion;
#X obj 43 48 loadbang;
#X obj 213 401 delay;
#X obj 207 444 metro;
#X msg 213 422 1;
#X msg 185 422 0;
#X obj 109 357 r \$0-poll;
#X obj 63 359 bang;
#X obj 63 401 delay;
#X obj 57 444 metro;
#X msg 63 422 1;
#X msg 35 422 0;
#X obj 108 378 * 2;
#X obj 258 378 * 2;
#X msg 246 134 open mouse \$1;
#X obj 195 180 hid;
#X msg 43 71 10;
#X obj 130 63 route poll open;
#X obj 246 48 float \$1;
#X connect 0 0 43 0;
#X connect 5 0 44 0;
#X connect 9 0 1 0;
#X connect 9 0 33 0;
#X connect 10 0 2 0;
#X connect 10 0 24 0;
#X connect 11 0 9 0;
#X connect 11 1 10 0;
#X connect 11 2 3 0;
#X connect 13 0 11 0;
#X connect 13 1 4 0;
#X connect 19 0 2 0;
#X connect 20 0 41 0;
#X connect 22 0 39 0;
#X connect 23 0 20 0;
#X connect 24 0 28 0;
#X connect 24 0 31 0;
#X connect 25 0 1 0;
#X connect 27 0 42 0;
#X connect 28 0 30 0;
#X connect 29 0 19 0;
#X connect 30 0 29 0;
#X connect 31 0 29 0;
#X connect 32 0 38 0;
#X connect 33 0 34 0;
#X connect 33 0 37 0;
#X connect 34 0 36 0;
#X connect 35 0 25 0;
#X connect 36 0 35 0;
#X connect 37 0 35 0;
#X connect 38 0 34 1;
#X connect 38 0 35 1;
#X connect 39 0 28 1;
#X connect 39 0 29 1;
#X connect 40 0 41 0;
#X connect 41 0 13 0;
#X connect 42 0 21 0;
#X connect 43 0 21 0;
#X connect 43 1 40 0;
#X connect 43 2 41 0;
#X connect 44 0 40 0;
|