top of page
enlamorreistitar

Layers [key]: A Guide to Working with Small Keyboards and Customizing Your Layout[^1^]



Layers are stacked on top of each other, with the base layer at the bottom. Using special keycodes, you can have buttons on your keyboard activate a layer. Then, when you press a button, your keyboard will check which layers are active, and then have your key do the thing mapped to it in the highest active layer in the stack of layers.




Layers [key]




A variation that would also work is to put the Layer Lock key on thebase layer and make other layers transparent (KC_TRNS) inthat position. Pressing the Layer Lock key locks (or unlocks) thehighest layer, regardless of which layer the Layer Lock key ison.


On an MO(layer), TT(layer), orLT(layer, key) event, the layer is extracted from thekeycode and checked against locked_layers. Since the normalrelease event handling for these keys is to turn the layer off, weindicate that this handling should be skipped (return false) if thelayer is locked so that the layer stays on.


Sometimes you'll need to see all of your keyframes at the same time. To do this simply select your layer and hit the U key. This also works across multiple layers if you want to see the keyframes for your entire composition.


Did you know you can replace After Effects layers in your timeline? To do so simply select a layer in your timeline, hold down the Option key, select a layer in your project panel and replace by dropping the new layer on the old one.


As you know, when you are working with shape layers it is usually best to center your anchor points so you don't mess up the look when you scale or rotate your shape. To quickly center the anchor point hit option + command + home. Now you can scale with ease.


A good example of layers is the function layer on most laptops. When you press the FN key, the keys will do something different when pressed, such as controlling the volume or skipping songs. Some keyboards might even have a numpad when you press the FN key.


You can have multiple default layers if you want. This is useful for when you want to have alternate keyboard layouts on the same board, like Colemak or Dvorak. You could also make layers specific to a an activity you do frequently, like having all keys relevant to a game on a default layer.


Layers are the most used way to define what each key does on a keyboard. You can have multiple layers, of which always one layer is active. You can add various keycodes to make layers active. QMK uses active layers to determine what key to send to the computer.


In this tutorial, I've combined the two and rounded up Photoshop's essential keyboard shortcuts for working with layers! Learning these powerful shortcuts will increase your productivity, and they'll boost your confidence as you take a giant leap forward on the road to Photoshop mastery!


We can also create new layers directly from the keyboard without needing to click the New Layer icon at all. To create a new layer from your keyboard, press Shift+Ctrl+N (Win) / Shift+Command+N (Mac). Photoshop will pop open the New Layer dialog box so you can give the layer a descriptive name.


By default, Photoshop adds new layers above the layer that's currently selected in the Layers panel, but we can also add new layers below the currently selected layer. Notice in this screenshot that my top layer (Layer 1) is selected. To tell Photoshop to add a new layer below it, all I need to do is press and hold the Ctrl (Win) / Command (Mac) key on my keyboard as I click the New Layer icon. If I wanted to name the new layer at the same time (which I'm not going to do), I'd press and hold Ctrl+Alt (Win / Command+Option (Mac) instead:


Photoshop adds the new layer, and because I was holding my Ctrl (Win) / Command (Mac) key, it places the new layer below Layer 1 rather than above it. Note that this trick does not work when the Background layer is selected, since Photoshop does not allow us to place layers below the Background layer:


To select multiple layers that are contiguous (that is, directly above or below each other), click on the top layer to select it, then press and hold your Shift key and click on the bottom layer (or vice versa). This will select the top layer, the bottom layer, and all layers in between. Here, I've clicked on the "Dancer" layer, then Shift-clicked on the "Shadow" layer. Photoshop selected both layers plus the "Color Fill 1" layer between them:


Another way to select multiple layers that are all directly above or below each other is to press and hold Shift+Alt (Win) / Shift+Option (Mac) and use the left and right bracket keys ( [ and ] ) on your keyboard. The right bracket key will add the layer above the currently selected layer to your selection. Continue pressing it to move up the layer stack and select more layers. The left bracket key will add the layer below the currently selected layer. Press it repeatedly to move down the layer stack adding more layers.


To select multiple layers that are non-contiguous (not directly above or below each other), press and hold your Ctrl (Win) / Command (Mac) key and click on each layer you want to select:


To scroll through the layers in the Layers panel, press and hold Alt (Win) / Option (Mac) and use your left and right bracket keys ( [ and ] ). The right bracket key scrolls up through the layers; the left bracket key scrolls down.


To move the selected layer up or down the layer stack, press and hold Ctrl (Win) / Command (Mac) and use your left and right bracket keys ( [ and ] ). The right bracket key moves the layer up; the left bracket key moves it down. Note that this does not work with the Background layer since you can't move the Background layer. Also, you won't be able to move any other layers below the Background layer.


To jump the selected layer to the bottom of the layer stack, or at least to the spot just above the Background layer (since we can't place layers below the Background layer), press Shift+Ctrl+[ (Win) / Shift+Command+[ (Mac). Again, neither one of these shortcuts works with the Background layer:


What you may not know is that you can temporarily hide every layer except for that one layer by pressing and holding your Alt (Win) / Option (Mac) key as you click the visibility icon. Notice that the eyeball is now visible only for my "Dancer" layer, which tells us that every other layer in the document is now hidden. Only that one layer remains visible. To turn all the layers back on, once again press and hold Alt (Win) / Option (Mac) and click the same visibility icon.


One very helpful trick many people don't know about is that after you've Alt-clicked (Win) / Option-clicked (Mac) on a layer's visibility icon to hide all layers except for that one layer, you can then scroll through your layers, showing them one at a time, by keeping your Alt (Win) / Option (Mac) key held down and pressing the left and right bracket keys ( [ and ] ).


The right bracket key will scroll up through the layers; the left bracket key will scroll down. As you arrive at each new layer, Photoshop will make that layer visible in the document and leave all the others hidden. This makes it easy to scroll through your layers and see exactly what's on each one.


Then, with the layers selected, press Ctrl+G (Win) / Command+G (Mac) on your keyboard. Photoshop will create a new layer group and place your selected layers inside it. To ungroup the layers, press Shift+Ctrl+G (Win) / Shift+Command+G (Mac):


To merge two or more layers onto a new layer while still keeping the original layers, first select the layers you want to merge, then press Ctrl+Alt+E (Win) / Command+Option+E (Mac).


There's a couple of quick ways to create clipping masks in Photoshop using keyboard shortcuts. The first way is to hover your mouse cursor directly over the dividing line between two layers in the Layers panel. Then, press and hold your Alt (Win) / Option (Mac) key and click. The top layer will be clipped to the layer below it. Do the same thing again to release the clipping mask:


And there we have it! That's our roundup of the essential shortcuts for working quickly and efficiently with layers in Photoshop! Looking for more Photoshop tips? Download our tutorials as print-ready PDFs and get our member-exclusive 101 Photoshop Tips & Tricks PDF! Or, check out our Photoshop Layers Learning Guide section for more layers tutorials!


Often, you may want a certain key position to alter which layers are enabled, change the default layer, etc.Some of those behaviors are still in the works; the ones that are working now are documented here.


When working with layers, you may have several different key positions with bindings that enable/disable those layers.To make it easier to refer to those layers in your key bindings, and to change which layers are where later, you canadd a set of #defines at the top of your keymap file, and use those layer in your keymap.


This works fine for moving from the base layer to layer 2. Once I'm layer 2, using the Enter key to move to layer 3 works only if I click on the stage first. From that point on, pressing Enter toggles me back and forth between layers 2 & 3. This is despite the fact that I have a layer 4 and a layer 5, and triggers that are built to send me to incremental layers (layer 3 from layer 2, layer 4 from layer 3, etc.).


Using a numeric variable will help with the redirects.1) create a number variable (say slideProgress)2) put a trigger on the base layer: adjust value of slideProgress to 0)3) put a trigger on each slide layer: adjust value of slideProgress to 1,2,3,4 depending on the layer you're at.4) remove key triggers from slide layers (yes, all of them).5) adjust the key trigger on the base slide master to include condition "if slideProgress is equal to 0" in the Master slide. 6) duplicate the above trigger 4 times (in the base layer only), edit the layer numbers and variable values and finally reverse the order of those triggers.It should look something like:- Goto layer 5 when user clicks Enter and slideProgress is equal to 3- Goto layer 4 when user clicks Enter and slideProgress is equal to 2- Goto layer 3 when user clicks Enter and slideProgress is equal to 1- Goto layer 2 when user clicks Enter and slideProgress is equal to 0That should do it.Hope this helps,Alex 2ff7e9595c


0 views0 comments

Recent Posts

See All

Comments


bottom of page