Skip to content

Commit

Permalink
[Keymap] update colemad crkbd (corne) keyboard (#21515)
Browse files Browse the repository at this point in the history
Co-authored-by: Álvaro Cortés Devesa <[email protected]>
  • Loading branch information
ACortesDev and Álvaro Cortés Devesa authored Jul 28, 2023
1 parent de2b180 commit 191b989
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 11 deletions.
2 changes: 2 additions & 0 deletions keyboards/crkbd/keymaps/colemad/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#define SPLIT_USB_DETECT // Added for Elite-C to work

#define QUICK_TAP_TERM 0
#define TAPPING_TERM 200

Expand Down
2 changes: 1 addition & 1 deletion keyboards/crkbd/keymaps/colemad/keycodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

/* Macros */
enum custom_keycodes {
VSCTERM = SAFE_RANGE,
VSCTERM = QK_USER,
CHNLANG
};
4 changes: 2 additions & 2 deletions keyboards/crkbd/keymaps/colemad/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[_ADJUST] = LAYOUT(
//,-----------------------------------------------------. ,-----------------------------------------------------.
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI,
XXXXXXX, XXXXXXX, KC_F13, KC_F14, KC_F15, XXXXXXX, RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
XXXXXXX, XXXXXXX, VSCTERM, KC_PSCR, CHNLANG, XXXXXXX, XXXXXXX,RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD,
XXXXXXX, KC_F16, KC_F17, KC_F18, KC_F19, XXXXXXX, XXXXXXX,RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
Expand Down
32 changes: 24 additions & 8 deletions keyboards/crkbd/keymaps/colemad/readme.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
# **COLEMAD**

Compiled and tested: `July 12, 2023`

## Corne Keyboard (CRKBD) **Colemak** layout by [ACortesDev](https://github.com/ACortesDev)

1. **Fast navigation**.
2. **Fast symbols**.
3. **Fast numbers**.
1. **Ergonomic navigation keys**.
2. **Symbols where expected to be**.
3. **Numbers (numpad)**.
Using the Telephone/ATM numpad layout. Easier to memorize/visualize as numbers follow *left-to-right, top-to-bottom* order.
4. **Fast capital letters**.
4. **Easy Capital letters**.
Added a *CAPS Lock* key because... [There is no *CAPS Lock* key in the Colemak Layout](https://colemak.com/FAQ#Where_is_the_Caps_Lock_key.3F).

---

### **Flashing**

For *Pro Micro* execute: `sudo make crkbd:colemad:avrdude`
~~For *Pro Micro* execute: `sudo make crkbd:colemad:avrdude`~~

~~For *Elite-C* execute: `sudo make crkbd:colemad:dfu`~~

For *Elite-C* execute: `sudo make crkbd:colemad:dfu`
For *Pro Micro* and *Elite-C* run:

```sh
qmk flash -kb crkbd -km colemad -bl dfu
```

---

Expand Down Expand Up @@ -87,11 +95,15 @@ Notes:

##### Macros + Settings

Notes:

- Function keys (from F13 to F19) to use for Linux/MacOS shortcuts.

```text
,-----------------------------------------------------. ,-----------------------------------------------------.
| | | | | | | |RGB_TOG |RGB_MOD |RGB_VAI |RGB_HUI |RGB_SAI |RGB_SPI |
| | | F13 | F14 | F15 | | |RGB_TOG |RGB_MOD |RGB_VAI |RGB_HUI |RGB_SAI |RGB_SPI |
|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
| | |VSCTERM | PSCR |CHNLANG | | | |RGB_RMOD|RGB_VAD |RGB_HUD |RGB_SAD |RGB_SPD |
| | F16 | F17 | F18 | F19 | | | |RGB_RMOD|RGB_VAD |RGB_HUD |RGB_SAD |RGB_SPD |
|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
| | | | | | | | | | | | | |
`--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------'
Expand All @@ -102,5 +114,9 @@ Notes:
`--------+--------+--------' `--------+--------+--------'
```

##### Ready to use Macro examples

Checkout `keycodes.h` and `process_records.c/h` files.

- Macro **VSCTERM**: Toggles the vscode terminal (Ctrl + `)
- Macro **CHNLANG**: Changes the OS keyboard layout (Ctrl + Shift + N)

0 comments on commit 191b989

Please sign in to comment.