Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 3.93 KB

base.md

File metadata and controls

59 lines (48 loc) · 3.93 KB

rafaelromao's keyboard layout

Layout Overview

  • This is split keyboard layout that goes from 24 to 34 keys, from the formats 1333+2 to 3x5+2. Most of the time I use boards in the 23332+2 format, like the Rommana and Hummingbird, but with the 1333+2 keymap.
  • This layout works well with the OS configured for US International keyboards.
  • It was designed mostly for coding and typing in Portuguese and English.
  • It reduces the usage of pinkies and indexes and considers the right hand as dominant.
  • The alpha layout is Romak, a new keyboard layout, inspired by Colemak and BEAKL.

Primary Alpha Layer

  • The Alpha1 layer is the base layer, which contains the most common alphas of Portuguese and English, plus comma and period. It is extended by the Alpha2 layer.

Secondary Alpha Layer

  • The Alpha2 layer has common Portuguese accented letters, readily available with a single tap on the left outer thumb key (OS Accents), making them as easy to type as shifted letters, which are available with a single tap on the right outer thumb key (OS Shift).
  • This layer also gives access to q, y, z and x, that are not available in the base layer, for the 28 keys variant, as well as an standalone apostrophe character.
  • There are dedicated accent keys for à á ã â é ê õ ó ô ú í and ç, which is all that is needed for Portuguese.
  • It is also possible to accent using dead keys, like usually done with the US International layout.
  • Source code:

Smart Thumb Keys

  • The Smart Thumb keys in this layout change behavior according to the context (active layer and active modifiers).
  • The four thumb keys control layer transitions, when held (Navigation, Lower, Raise and Media).
  • Holding both outer thumb keys will activate the system layer.
  • Source code: custom_oneshot.c

Base Layer Combos

  • Combos are available in the base and Numpad layers to send ENTER, ESC, TAB and common shortcuts like copy, paste, save, select all and undo.
  • Most combos include the home thumb key, the one in the same side, to avoid misfires.
  • One-shot shift can be used to invert the modifier (Ctrl vs Cmd) used in the combos.
  • If shift, or any other modifier, is held, it will be included in the combo. So hold Shift and tap the Undo combo will send Redo instead.
  • There are also combos for z and x, that are not available through dedicated keys in the base layer.
  • Source code: combos.c

Base Layer Macros

  • Some macros are available directly from the base layer.
  • Source code: macros.c

Double Comma for Leader Key

  • The Leader Key can be accessed double tapping the comma key. This allow really fast access to leader sequences.

Pontuation Hold

  • Holding a pontuation key (dot, comma or semicollon) will add it to the end of the current line.

Sentence Case

  • Tapping Space after ., ? or ! will trigger ONESHOT SHIFT when the next key is pressed, so that it gets capitalized. Repeat key can be used to cancel this behavior, and it will also expire after one second if no other key is pressed.

Secrets

  • Secret combos and leader sequencies can be included in the files secret.h and secret.c. These files are not part of the repo, for obvious reasons, so these two gists are provided as templates.

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