Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 3.88 KB

modifiers.md

File metadata and controls

65 lines (51 loc) · 3.88 KB

rafaelromao's keyboard layout

Home Block Mods

Home Block Mods are an alternative to Home Row Mods, but with the pinky key replaced by the index colunm key in the bottom row.

  • Home block modifiers are available on both sides of the Base and Numpad layers.
  • Home block modifiers are not available on Lower and Raise layers, since they delay the symbol activation and are not that much useful anyway.

One-Shot Mods

One-Shot Mods are modifier keys that, when tapped, remain active until the next key is pressed or a timeout expires.

  • They are available in the Navigation layer and act as standard modifers when held.
  • These modifiers will be automatically deactivated after 2 seconds.
  • They can also be activated in sticky mode, with a double tap, and remain active until manually deactivated by tapping the Accents or Smart Case thumb keys.

Standard Mods

  • Standard modifiers are available in Media the layer.
  • These modifiers do not have one-shot behavior, so they can be used in situations which a tap or multi tap in a modifier key is required.

Thumb Mods

  • The two outer thumb keys act as special modifiers when tapped, according to the current state.
  • If there in an active oneshot modifier or Smart Case, they will be disabled.
  • If modifiers are held while the thumb mod keys are pressed, they will activate an Smart Case mode, more on that later.
  • Otherwise, they will activate their main functions, described below.

One-shot Accents Key

  • The OS Accents key is available in the left outer thumb key and will toggle the Accents layer in one-shot mode when single tapped.
  • Source code: custom_oneshot.c

One-shot Shift Key

  • The OS Shift key is available in the right outer thumb key and will toggle the Shift modifier in one-shot mode when single tapped.
  • Source code: custom_oneshot.c

Smart Cases

Smart Cases are custom case modes activated via thumb modifiers.

  • If any modifier is active or locked in one-shot mode, all these modifiers will be deactivated.
  • If any Smart Case is active, and the thumb key is the right side one, it deactivates the Smart Case.
  • If Shift is in one-shot mode, and no modifier is held, it activates Caps Word.
  • If Shift is not in one-shot mode, and no modifier is held, it activates Shift for one-shot.
  • If modifiers are held, it behaves as follows:
    • If Left Shift is held, it activates camelCase: Space is replaced by OSM(Shift), excluding first char.
    • If Left Control is held, it activates CAPSWORD: Caps Lock remains active until space or any word breaking symbol is typed.
    • If Left Shift + Left Control are held, it activates PascalCase: Space is replaced by OSM(Shift), including first char.
    • If Left Gui is held, it activates snake_case: Space is replaced by _.
    • If Left Gui + Left Control are held, it activates CONSTANT_CASE.
    • If Right Gui is held, it activates kebab-case: Space is replaced by -.
    • If Right Control is held, it activates CAPS LOCK.
    • If Right Control + Right Gui are held, it activates SCREAM-KEBAB-CASE.
    • If Right Shift is held, it activates slash/case.
    • If Right Control + Right Shift are held, it activates SCREAM/SLASH/CASE.
  • Any Smart Case option, including Caps Lock, will be automatically deactivated after 10 seconds of inactivity or typing space twice.
  • Source code: smart_case.c

Home | Base | Modifiers | Shortcuts and Macros | Symbols and Numbers | Navigation and Media | System