keychron_qmk_firmware/keyboards/crkbd/keymaps/bermeo
Albert Y cbabc8dbe6
[Core] Replace Tapping Force Hold feature with Quick Tap Term (#17007)
* Replace Tapping Force Hold feature with Quick Tap Term

* Replace keyboard level TAPPING_FORCE_HOLD with QUICK_TAP_TERM 0

* Deprecate force hold in info_config.json

* Before and after quick tap term unit tests

* Quick tap unit tests iteration

* Keymap config.h correction

* Remove TAPPING_FORCE_HOLD_PER_KEY macros that were missed

* Add two more test cases for quick tap

* Replace TAPPING_FORCE_HOLD with QUICK_TAP_TERM in configs #2

* Replace TAPPING_FORCE_HOLD_PER_KEY with QUICK_TAP_TERM_PER_KEY in configs #2

* Add function declaration for get_quick_tap_term

Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2022-12-12 16:52:22 +01:00
..
config.h [Core] Replace Tapping Force Hold feature with Quick Tap Term (#17007) 2022-12-12 16:52:22 +01:00
glcdfont.c
keymap.c Fix Per Key LED Indicator Callbacks (#18450) 2022-10-04 15:24:22 -07:00
readme.md
rules.mk

Bermeo Layout for Corne

Features

Corne for neo-latin creatives

  • Usable with left hand only (Figma, Adobe, Spline, etc) to combo with mouse.
  • Delete and enter keys on the left side.
  • Z and X on left side with lower layer used to control the monitor's brigtness.
  • Arrow keys on left hand (vim logic)
  • Accentuations used in Romance (neo-latin) languages like Spanish, Portuguese, French and Italian - ` ~ ^ ' -.

Direct ç and ã keys

The termination "tion" (eg. action) in portuguese is "ção" (eg. ação). This layout is optimized to use the less keys possible to write words with this termination.

Compared to the crkbd:default layout the difference to output ção would be half of the interations:

crkbd:bermeo MO(2), KC_C, KC_A, MO(2)
crkbd:default KC_QUOT, KC_C, MO(2), KC_SFT, KC_GRV, MO(2), KC_SFT, KC_A

[ hold key , release key ]

Modern OLED Support

  • Non-intrusive OLED layer indicator.
  • Non-intrusive OLED modifier indicators ⌘ ⇧ ⌥ ⌃.
  • Fully animated Luna on left side.

Full per-key RGB Matrix support

With the index of every key mapped in the table below to be used with rgb_matrix_set_color(index, r, g, b);.

Indexes of the keys

24 23 18 17 10 9 36 37 44 45 50 51
25 22 19 16 11 8 35 38 43 46 49 52
26 21 20 15 12 7 34 39 42 47 48 53
14 13 6 33 40 41

Each layer uses the LED 14 as an visual indicator:

  • Default layer
  • 🔵 Lower (0)
  • 🟠 Raise (1)
  • 🟢 Numpad (2)
  • Control and Command
  • 🟡 Shift

Mod-taps

For convenience, QMK includes some Mod-Tap shortcuts to make common combinations more compact in your keymap:

Key Description
LCTL_T(kc) Left Control when held, kc when tapped.
LSFT_T(kc) Left Shift when held, kc when tapped.
LALT_T(kc) Left Alt when held, kc when tapped.
ALT(kc) Left Alt + kc when tapped.
LGUI_T(kc) Left GUI when held, kc when tapped.
RSFT_T(kc) Right Shift when held, kc when tapped.
RGUI_T(kc) Right GUI when held, kc when tapped.

Macros

Layer Name Description Keys
🟠 CEDILLA Directly outputs ç ' + c
🟠 AO Directly outputs ã shift + ` + a
🟠 ASPAS Outputs ", since diaeresis1 are less used than " (for coding and quoting) shift + ' + space

Layers

QWERTY

LCTL_T(F32) Q W E R T Y U I O P GRAVE
LALT_T(TAB) A S D F G H J K L ;
LSFT_T(←) Z X C V B N M , . / RGUI_T(→)
LGUI_T(↓) MO(1) SPACE MO(2) RSFT_T( ↑)

LOWER 🔵

CTL_T(F53) 1 2 3 4 5 6 7 8 9 0 ESCAPE
LCTL(LGUI(KC_SPC))4 [ ] \ ' :
ALT(←) F15 F26 C V - = < > ? LALT(→)
LGUI_T(PAGE_DOWN) _ SPACE LALT(⌫) TG(3) RSFT_T(PAGE_UP)

RAISE 🟠

LCTL_T(F47) ! @ # $ % ˆ & * ( ) ˜
LALT_T(TAB) Ã8 { } | "9 :
LALT(←) Ç10 _ + < > ? LALT(→)
LGUI_T(END) TG(3) SPACE DEL _ RSFT_T(HOME)

NUMPAD 🟢

RGB_TOG 7 8 9 * /
RGB_HUI RGB_SAI RGB_VAI RGB_SPI 4 5 6 -
RGB_HUD RGB_SAD RGB_VAD RGB_SPD . 1 2 3 +
TG(3) TG(3) TG(3) TG(3) 0

Usage

To compile and flash, from qmk setup folder, run:

make crkbd:bermeo:flash

Compiled size

28658/28672 (99%, 14 bytes free)

If more space is needed, start by deactivating Macros and Luna's animations.

Credits

Guilherme Bermêo (github)

Thanks

  • @armand1m
  • @brneor
  • @drashna
  • @hellsingcoder
  • @soundmonster
  • @wdtamagi

  1. The diaeresis (/daɪˈɛrəsɪs, -ˈɪər-/ dy-ERR-ə-sis, -EER-; also known as the trema) and the umlaut (/ˈʊmlaʊt/) are two different diacritical marks that (in modern usage) look alike. They both consist of two dots ¨ placed over a letter, usually a vowel; when that letter is an i or a j, the diacritic replaces the tittle: ï. In computer systems, both forms have the same code point (binary code). Their appearance in print or on screen may vary between typefaces but rarely within the same typeface. The "diaeresis" diacritic is used to mark the separation of two distinct vowels in adjacent syllables when an instance of diaeresis (or hiatus) occurs, so as to distinguish from a digraph or diphthong. The "umlaut" diacritic, in contrast, indicates a sound shift phenomenon also known as umlaut in which a back vowel becomes a front vowel. Neither of these phenomena occur in English, except in loanwords (like naïve) or for stylistic reasons (as in the Brontë family or Mötley Crüe). ↩︎

  2. Open Mission Control. ↩︎

  3. Bring up the screenshot toolbar. ↩︎

  4. Opens emoji dialog box. ↩︎

  5. Decrease display brightness. ↩︎

  6. Increase display brightness. ↩︎

  7. Launchpad. ↩︎

  8. Macro "CEDILLA". ↩︎

  9. Macro "AO". ↩︎

  10. Macro "ASPAS". ↩︎