/usr/lib/pd/extra/hid/buttongate.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 | #N canvas 367 43 525 408 10;
#X obj 303 81 hid \$1;
#X obj 303 24 inlet;
#X obj 303 106 route key;
#X obj 303 127 route \$2;
#X obj 104 26 inlet;
#X obj 104 295 outlet;
#X obj 104 264 spigot;
#X text 10 324 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 226 340 released under the GNU GPL;
#X text 16 371 $Author: eighthave $;
#X text 16 388 $Date: 2004-11-25 02:42:49 $;
#X text 16 354 $Revision: 1.2 $;
#X obj 192 16 loadbang;
#X obj 303 147 unpack f f;
#X text 5 6 [buttongate];
#X obj 242 263 spigot;
#X obj 242 295 outlet;
#X obj 333 195 - 1;
#X obj 333 215 abs;
#X msg 192 50 0;
#X msg 243 50 1;
#X obj 303 168 t f f;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 13 0;
#X connect 4 0 6 0;
#X connect 4 0 15 0;
#X connect 6 0 5 0;
#X connect 12 0 19 0;
#X connect 12 0 20 0;
#X connect 13 0 21 0;
#X connect 15 0 16 0;
#X connect 17 0 18 0;
#X connect 18 0 15 1;
#X connect 19 0 6 1;
#X connect 20 0 15 1;
#X connect 20 0 0 0;
#X connect 21 0 6 1;
#X connect 21 1 17 0;
|