Commit a72f6ecb authored by Roman Haefeli's avatar Roman Haefeli
Browse files

finalize keyboard toggle

parent ed895116
......@@ -1333,23 +1333,46 @@ id float gid float vel float dur float c float vis float mrk;
#X connect 16 0 0 0;
#X restore 345 296 pd create.scroller;
#X obj 355 61 t b b b b b b b b b b;
#N canvas 49 734 371 251 create.keyboard.toggle 0;
#N canvas 115 630 561 265 create.keyboard.toggle 0;
#X obj 7 7 inlet;
#X obj 7 185 outlet;
#X obj 7 215 outlet;
#X obj 7 124 list prepend \$0;
#X obj 7 61 f;
#X text 46 86 offset from left border;
#X obj 44 64 r \$0.canvasleftmargin;
#X obj 7 30 b;
#X msg 7 152 scalar \$1.keyboard.toggle \$2 20 keyboard 0 666;
#X obj 7 87 + 545;
#X msg 273 111 0;
#X msg 334 112 0;
#X obj 225 72 t b b;
#X obj 273 72 t b b;
#X msg 374 113 666;
#X msg 225 107 777;
#X obj 225 20 r \$0.keyboard.enable;
#X obj 225 43 sel 1 0;
#X obj 225 149 pack f f;
#X obj 7 147 list append;
#X msg 7 182 scalar \$1.keyboard.toggle \$2 20 keyboard \$3 \$4;
#X connect 0 0 6 0;
#X connect 2 0 7 0;
#X connect 3 0 8 0;
#X connect 2 0 17 0;
#X connect 3 0 7 0;
#X connect 5 0 3 1;
#X connect 6 0 3 0;
#X connect 7 0 1 0;
#X connect 8 0 2 0;
#X connect 7 0 2 0;
#X connect 8 0 16 0;
#X connect 9 0 16 1;
#X connect 10 0 13 0;
#X connect 10 1 9 0;
#X connect 11 0 8 0;
#X connect 11 1 12 0;
#X connect 12 0 16 1;
#X connect 13 0 16 0;
#X connect 14 0 15 0;
#X connect 15 0 10 0;
#X connect 15 1 11 0;
#X connect 16 0 17 1;
#X connect 17 0 18 0;
#X connect 18 0 1 0;
#X restore 297 330 pd create.keyboard.toggle;
#X connect 0 0 19 0;
#X connect 2 0 4 0;
......@@ -4989,22 +5012,22 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X obj 25 15 keyname;
#X obj 25 37 pack f s;
#X msg 25 59 \$2 \$1;
#X obj 25 135 ||;
#X obj 80 109 t b a;
#X obj 25 260 change -1;
#X obj 25 283 s \$0.mod.key;
#X obj 136 128 ||;
#X obj 136 151 << 1;
#X obj 25 204 +;
#X obj 136 174 t b a;
#X text 44 317 Modifier key bitmask:;
#X text 43 354 --x- Ctrl;
#X text 44 337 ---x Shift;
#X obj 25 83 route Shift_L Shift_R Control_L Control_R Alt_L;
#X obj 248 177 t b a;
#X obj 25 234 +;
#X obj 248 154 << 2;
#X text 43 371 -x-- Alt_l;
#X obj 25 159 ||;
#X obj 80 133 t b a;
#X obj 25 284 change -1;
#X obj 25 307 s \$0.mod.key;
#X obj 136 152 ||;
#X obj 136 175 << 1;
#X obj 25 228 +;
#X obj 136 198 t b a;
#X text 44 341 Modifier key bitmask:;
#X text 43 378 --x- Ctrl;
#X text 44 361 ---x Shift;
#X obj 25 107 route Shift_L Shift_R Control_L Control_R Alt_L;
#X obj 248 201 t b a;
#X obj 25 258 +;
#X obj 248 178 << 2;
#X text 43 395 -x-- Alt_l;
#X connect 0 0 1 0;
#X connect 0 1 1 1;
#X connect 1 0 2 0;
......@@ -5027,24 +5050,24 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 16 0 5 0;
#X connect 17 0 15 0;
#X restore 26 25 pd mod.keys;
#X obj 218 177 r \$0.mod.key;
#X floatatom 218 200 5 0 0 0 - - -;
#X obj 218 207 r \$0.mod.key;
#X floatatom 218 230 5 0 0 0 - - -;
#X obj 24 83 loadbang;
#X obj 24 106 \$0;
#X text 216 267 1: Shift;
#X text 216 297 1: Shift;
#X obj 219 31 keyname;
#X obj 219 54 pack f s;
#X obj 219 77 route 1;
#X obj 219 100 symbol;
#X symbolatom 260 123 10 0 0 0 - - -;
#X obj 219 123 t a a;
#X symbolatom 260 153 10 0 0 0 - - -;
#X obj 219 153 t a a;
#X text 23 62 Mod-Key Config:;
#X obj 477 85 s \$0.unselect.selection;
#X obj 219 147 s \$0.keyname;
#X obj 219 177 s \$0.keyname;
#X obj 477 61 select Escape;
#X obj 348 80 r \$0.keyname;
#X text 218 235 MOD KEY TABLE;
#X text 218 249 -------------;
#X text 218 265 MOD KEY TABLE;
#X text 218 279 -------------;
#X text 475 18 KEY COMMANDS;
#X obj 477 135 s \$0.delete.selection;
#X obj 477 160 select Up;
......@@ -5066,9 +5089,9 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X obj 25 445 r \$0.toggle.selection;
#X obj 25 424 r \$0.copy.and.move;
#X obj 25 467 r \$0.scroll.by.arrow.keys;
#X text 216 287 2: Ctrl_L;
#X text 216 322 4: Ctrl_R;
#X text 216 305 3: Ctrl_L+Shift;
#X text 216 317 2: Ctrl_L;
#X text 216 352 4: Ctrl_R;
#X text 216 335 3: Ctrl_L+Shift;
#X obj 707 116 r \$0.scroll.by.arrow.keys;
#X obj 692 91 r \$0.mod.key;
#X obj 644 68 r \$0.keyname;
......@@ -5082,6 +5105,8 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X msg 24 129 \; \$1.delete.on.click 2 \; \$1.select.range 1 \; \$1.move.notes.octave
1 \; \$1.move.notes.bar 1 \; \$1.copy.and.move 2 \; \$1.toggle.selection
1 \; \$1.scroll.by.arrow.keys 4 \;;
#X obj 271 125 r \$0.keyboard.enable;
#X obj 219 126 spigot;
#X connect 1 0 2 0;
#X connect 3 0 4 0;
#X connect 4 0 52 0;
......@@ -5089,7 +5114,7 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 6 1 7 1;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 11 0;
#X connect 9 0 54 0;
#X connect 11 0 14 0;
#X connect 11 1 10 0;
#X connect 15 0 13 0;
......@@ -5114,6 +5139,8 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 51 1 47 0;
#X connect 51 2 45 0;
#X connect 51 3 46 0;
#X connect 53 0 54 1;
#X connect 54 0 11 0;
#X restore 19 125 pd key.commands;
#N canvas 105 145 487 123 interaction.logic 0;
#N canvas 199 504 810 268 mode.button.logic 0;
......@@ -5260,17 +5287,17 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 19 0 16 0;
#X connect 20 0 17 0;
#X restore 3 56 pd scroller.logic;
#N canvas 139 395 466 477 keyboard.toggle.logic 0;
#N canvas 139 395 502 472 keyboard.toggle.logic 0;
#X obj 50 52 r \$0.keyboard.toggle.send;
#X obj 50 75 route click;
#X obj 50 98 t b p, f 37;
#X obj 50 378 set \$0.keyboard.toggle hilite ihilite;
#X msg 98 342 0;
#X msg 159 343 0;
#X obj 50 303 t b b;
#X obj 98 303 t b b;
#X msg 199 344 666;
#X msg 50 338 777;
#X obj 50 408 set \$0.keyboard.toggle hilite ihilite;
#X msg 98 372 0;
#X msg 159 373 0;
#X obj 50 333 t b b;
#X obj 98 333 t b b;
#X msg 199 374 666;
#X msg 50 368 777;
#X obj 83 195 \$0;
#X obj 50 224 s _UNPUNCH_KEYBOARD_GRAB;
#X obj 84 123 r _UNPUNCH_KEYBOARD_GRAB;
......@@ -5279,11 +5306,19 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X msg 50 167 -1;
#X obj 83 168 b;
#X obj 50 246 r _UNPUNCH_KEYBOARD_GRAB;
#X obj 50 269 sel \$0;
#X obj 50 299 sel \$0;
#X obj 269 238 t p b;
#X obj 50 269 spigot 0;
#X msg 296 264 1;
#X obj 326 29 r _UNPUNCH_KEYBOARD_GRAB;
#X obj 326 52 sel \$0;
#X msg 326 75 1;
#X msg 359 75 0;
#X obj 326 105 s \$0.keyboard.enable;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 13 0;
#X connect 2 1 3 2;
#X connect 2 1 19 0;
#X connect 4 0 3 0;
#X connect 5 0 3 1;
#X connect 6 0 9 0;
......@@ -5299,9 +5334,18 @@ by clicking on two coordinates on the grid with Mod-key pressed.;
#X connect 14 1 16 0;
#X connect 15 0 11 0;
#X connect 16 0 10 0;
#X connect 17 0 18 0;
#X connect 17 0 20 0;
#X connect 18 0 6 0;
#X connect 18 1 7 0;
#X connect 19 0 3 2;
#X connect 19 1 21 0;
#X connect 20 0 18 0;
#X connect 21 0 20 1;
#X connect 22 0 23 0;
#X connect 23 0 24 0;
#X connect 23 1 25 0;
#X connect 24 0 26 0;
#X connect 25 0 26 0;
#X restore 3 80 pd keyboard.toggle.logic;
#X restore 19 215 pd interaction.logic;
#X connect 0 0 22 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment