Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Prakhar Agarwal
purr-data
Commits
d47295f5
Commit
d47295f5
authored
7 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
remove duplicated abstraction from non-default library
parent
7e3c3f7d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
externals/hid/buttongate-help.pd
+0
-53
0 additions, 53 deletions
externals/hid/buttongate-help.pd
externals/hid/buttongate.pd
+0
-42
0 additions, 42 deletions
externals/hid/buttongate.pd
with
0 additions
and
95 deletions
externals/hid/buttongate-help.pd
deleted
100644 → 0
+
0
−
53
View file @
7e3c3f7d
#N canvas 0 31 463 514 10;
#X obj 5 2 cnv 15 450 20 empty empty buttongate 2 11 1 18 -233017 -66577
0;
#X obj 160 287 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 160 151 loadbang;
#X msg 160 171 1;
#X obj 160 199 metro 150;
#X text 27 470 (C) Copyright 2004 Hans-Christoph Steiner <hans@eds.org>
;
#X text 244 484 released under the GNU GPL;
#X obj 223 417 pddp/pddplink ../all_about_hid.pd -text all_about_hid
;
#X text 114 418 For more info:;
#X text 17 38 [buttongate] is a simple gate controlled by a HID button.
You must specify the device and the button which controls the gate.
The left inlet takes the data to be gated. The right inlet is for sending
optional control messages to the HID.;
#X obj 160 244 buttongate 0 btn_0;
#X text 18 119 The first button on the first device controls this gate:
;
#X text 15 237 data to be gated -->;
#X text 292 237 <-- msgs to [hid];
#X obj 281 288 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 310 197 refresh;
#X msg 299 176 open 2;
#X text 39 294 button pressed->;
#X text 310 293 <-- button released;
#X text 23 348 Keyboard keys can also be used to control this object.
You can get the [hid] keycode from here:;
#X obj 324 368 ev_key-list;
#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp
;
#N canvas 504 253 494 344 META 0;
#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL;
#X text 12 145 AUTHOR Hans-Christoph Steiner;
#X text 12 45 DESCRIPTION simple gate controlled by a HID button;
#X text 12 65 INLET_0 bang;
#X text 12 85 INLET_1 open refresh;
#X text 12 105 OUTLET_0 bang;
#X text 12 125 OUTLET_1 bang;
#X text 12 5 KEYWORDS control user_input abstraction;
#X restore 406 463 pd META;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 10 0;
#X connect 10 0 1 0;
#X connect 10 1 14 0;
#X connect 15 0 10 1;
#X connect 16 0 10 1;
This diff is collapsed.
Click to expand it.
externals/hid/buttongate.pd
deleted
100644 → 0
+
0
−
42
View file @
7e3c3f7d
#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@eds.org>
;
#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;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment