User Tools

Site Tools


en:edit-keymap:layer-tap-key

FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)
Translated by Google. Revise later.

Layer Tap Key

Click is a key, long press and when combined with other keys is the instant opening layer. The keypad is especially useful, or you want to make better use of double spaces or single spaces SpaceFn. SpaceFn introduction: https://geekhack.org/index.php?topic=51069.0 Dual-role Keys reference: https://geekhack.org/index.php?topic=41685.0

Let me first talk about the main points of this feature.

  1. Click is a key, the trigger mode is different from the normal button. The normal button is triggered when pressed, and the button here is triggered when the button is released.
  2. Long press is the instant opening layer. The length of the long press is slightly required, and the response speed is not as fast as the individual instantaneous long press.
  3. If you want to implement a long press of a button, then because you press and hold it long, it is a momentary opening layer, so the actual double click and keep pressed.

If the button is triggered when pressed, then there is no way to determine whether the user is clicking or long pressing. So the actual logic of its judgment is:

The user presses the button to start timing.

  1. If the button is released and the time is within 200ms, the button is clicked once.
  2. Press the button once again within 200ms of pressing the button, and keep pressing and holding it, or press and hold this button.
  3. If other buttons are pressed, the action of this button is also the instant opening layer. If the time is not exceeded 200ms when the button is released, then two buttons will be sent at a time.
  4. The time of the timer exceeds the preset time of 200ms. If the other keys are not pressed, then the action of this key is directly the instant opening layer, and when this operation is performed, when the other keys are pressed, the keyboard sends the opened layer. button.

3 This is very important for SpaceFn usage, especially for single spaces. It must be delayed to ensure that when you type quickly, the button that is pressed immediately after pressing the space will not be recognized as the opening layer. .

However, not all buttons need to be used this way, so in the ydkb firmware, another button | Instant Open Layer mode is added. The difference from the above is mainly in the part 3, as long as the other keys are pressed, it is directly judged as the instantaneous opening layer without delay. This mode is similar to the win button of the keyboard. The single button is the win button, and the other button combination triggers the corresponding effect immediately.

Updated keyboard that supports Layer(S)
1800miniX-8086KBLE40BLUPChicoryYDP50
YDPM40YDPM40BLEYDP50YD60BLEMiniraCAD66
ChicoryALF X3

Then this feature also has a limit

The "button" triggered when clicked must be a regular button, not a modifier key or a modifier key combination.

   In practical applications, the button in the momentary opening layer is not suitable for playing games, and may encounter a problem.

Because this button is triggered when it is released, in some games, pressing a space is a jump, and pressing it long (long) jumps high (long).
However, if the space is set to "button | instant open layer", then each click is only a short trigger, it is not suitable for use here.

   The actual use is, here are some suggestions for use:

  1. Note that when it is used as a button, it is effective when it is lifted, so it feels slightly delayed compared to other buttons. This is easy to get used to.
  2. If it is like a space or other key, press the other keys immediately after pressing it. It is recommended to use without (S). When using this as the instant opening layer, you should get used to pressing the layer to open the layer. Delay, don't let go too fast.
  3. The button is basically not pressed together with other keys, and you want to use the layer with (S) when you want to open the layer quickly.

Different people have different operating habits, so it's best to experience the differences between them and then set them flexibly. Personally, I chose to double-space one of the settings that are often typed as a pure space bar, and the other is set to a button with (S) | Instantly open layer.

The following shows the setting method.

Another button | Instantaneous layer setting method is to select the band (S) when pulling down the selection layer.

en/edit-keymap/layer-tap-key.txt · Last modified: 2019/02/09 09:26 by yangdigi