/usr/lib/pd/extra/hid/keyboard-help.pd is in pd-hid 0.7-1.
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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | #N canvas 0 31 567 507 10;
#X obj 168 91 tgl 25 0 empty empty empty 0 -6 0 8 -225271 -1 -1 0 1
;
#X obj 11 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X symbolatom 168 222 12 0 0 0 code - -;
#X floatatom 296 222 5 0 0 1 value - -;
#X obj 168 195 unpack symbol float;
#X text 239 238 buttons;
#X obj 2 2 cnv 15 550 20 empty empty keyboard 2 11 1 18 -233017 -66577
0;
#X msg 204 93 open 1;
#X text 1 432 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 218 446 released under the GNU GPL;
#X text 414 446 $Author: eighthave $;
#X text 414 433 $Revision: 1.4 $;
#X obj 348 402 pddp/pddplink ../all_about_hid.pd -text all_about_hid
;
#X text 239 403 For more info:;
#X msg 209 112 open 3;
#X obj 32 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X obj 53 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X obj 74 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X obj 95 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0 1
;
#X obj 116 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 137 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 158 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 179 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 200 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 221 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 242 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 263 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 284 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 305 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 326 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 347 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 368 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 389 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 410 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 431 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 452 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 473 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X obj 494 369 tgl 20 0 empty empty empty 0 -6 0 8 -195568 -1 -1 0
1;
#X text 117 270 Most keyboards can detect multiple keys at the same
time. You can test yours by pressing and holding keys and counting
how many "X"s are shown below;
#X text 8 36 Use a keyboard device with Pd. This object gives you raw
access to the keyboard events. Pd does not need to have focus in order
get the key events. No matter which application has focus \, this object
will get keyboard events.;
#X obj 75 315 route key_4 key_5 key_6 key_7 key_8 key_9 key_10 key_11
key_12 key_13 key_14 key_15 key_16 key_17 key_18 key_19 key_20 key_21
key_22 key_23 key_24 key_25 key_26 key_27;
#X obj 519 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp
;
#X obj 168 174 hid/keyboard 0;
#X msg 109 123 print;
#N canvas 162 133 570 420 serin 0;
#X obj 286 61 cnv 15 30 15 empty \$0-open-canvas 1 4 8 0 14 -233017
-1 0;
#X obj 60 61 hradio 15 1 1 15 empty empty empty 0 -6 0 8 -225271 -1
-1 1;
#X obj 60 13 inlet;
#X msg 200 202 label \$1;
#X obj 200 180 makefilename %d;
#X obj 59 108 int;
#X obj 59 337 outlet;
#X msg 201 306 set \$1 \$2;
#X obj 59 266 trigger bang anything;
#X obj 201 286 list;
#X msg 60 210 open \$1;
#X obj 200 225 send \$0-open-canvas;
#X connect 1 0 5 0;
#X connect 2 0 1 0;
#X connect 3 0 11 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 5 0 10 0;
#X connect 7 0 6 0;
#X connect 8 0 6 0;
#X connect 8 1 9 0;
#X connect 9 0 7 0;
#X connect 10 0 8 0;
#X coords 0 -1 1 1 257 17 1 60 60;
#X restore 216 131 pd serin;
#X msg 216 152 open 1;
#N canvas 577 31 494 344 META 0;
#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL;
#X text 12 105 AUTHOR Hans-Christoph Steiner;
#X text 12 65 INLET_0 float open print;
#X text 12 45 DESCRIPTION use a keyboard device with Pd;
#X text 12 85 OUTLET_0 list;
#X text 12 5 KEYWORDS control user_input abstraction;
#X restore 509 478 pd META;
#X connect 0 0 42 0;
#X connect 4 0 2 0;
#X connect 4 1 3 0;
#X connect 7 0 42 0;
#X connect 14 0 42 0;
#X connect 40 0 1 0;
#X connect 40 1 15 0;
#X connect 40 2 16 0;
#X connect 40 3 17 0;
#X connect 40 4 18 0;
#X connect 40 5 19 0;
#X connect 40 6 20 0;
#X connect 40 7 21 0;
#X connect 40 8 22 0;
#X connect 40 9 23 0;
#X connect 40 10 24 0;
#X connect 40 11 25 0;
#X connect 40 12 26 0;
#X connect 40 13 27 0;
#X connect 40 14 28 0;
#X connect 40 15 29 0;
#X connect 40 16 30 0;
#X connect 40 17 31 0;
#X connect 40 18 32 0;
#X connect 40 19 33 0;
#X connect 40 20 34 0;
#X connect 40 21 35 0;
#X connect 40 22 36 0;
#X connect 40 23 37 0;
#X connect 42 0 4 0;
#X connect 42 0 40 0;
#X connect 43 0 42 0;
#X connect 44 0 45 0;
#X connect 45 0 42 0;
|