Fixes CM_SCLN and updates docs for Colemak
This commit is contained in:
parent
1b0d0c6848
commit
3c683aa9f2
4 changed files with 37 additions and 36 deletions
|
@ -138,9 +138,9 @@ Note: Using macros to have your keyboard send passwords for you is a bad idea.
|
||||||
|
|
||||||
Everything is assuming you're in Qwerty (in software) by default, but there is built-in support for using a Colemak or Dvorak layout by including this at the top of your keymap:
|
Everything is assuming you're in Qwerty (in software) by default, but there is built-in support for using a Colemak or Dvorak layout by including this at the top of your keymap:
|
||||||
|
|
||||||
#include "keymap_<layout>.h"
|
#include <keymap_extras/keymap_colemak.h>
|
||||||
|
|
||||||
Where <layout> is "colemak" or "dvorak". After including this line, you will get access to:
|
If you use Dvorak, use `keymap_dvorak.h` instead of `keymap_colemak.h` for this line. After including this line, you will get access to:
|
||||||
|
|
||||||
* `CM_*` for all of the Colemak-equivalent characters
|
* `CM_*` for all of the Colemak-equivalent characters
|
||||||
* `DV_*` for all of the Dvorak-equivalent characters
|
* `DV_*` for all of the Dvorak-equivalent characters
|
||||||
|
|
Binary file not shown.
|
@ -1,3 +1,4 @@
|
||||||
|
#include <keymap_extras/keymap_colemak.h>
|
||||||
#include "ergodox_ez.h"
|
#include "ergodox_ez.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "action_layer.h"
|
#include "action_layer.h"
|
||||||
|
@ -84,14 +85,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_TRNS, KC_TRNS,
|
||||||
KC_TRNS, KC_5, KC_6, KC_7, KC_8, KC_9,
|
KC_TRNS, KC_5, KC_6, KC_7, KC_8, KC_9,
|
||||||
KC_TRNS, KC_LPRN,KC_RPRN,KC_LBRC, KC_RBRC, KC_0, KC_TRNS,
|
KC_TRNS, KC_LPRN,KC_RPRN,KC_LBRC, KC_RBRC, KC_0, KC_TRNS,
|
||||||
KC_TRNS, KC_TRNS,KC_TRNS,LCTL(KC_PGDN), LCTL(KC_PGUP),
|
KC_TRNS, KC_TRNS,KC_TRNS,LCTL(KC_PGUP), LCTL(KC_PGDN),
|
||||||
KC_TRNS,KC_TRNS,
|
KC_TRNS,KC_TRNS,
|
||||||
KC_TRNS,
|
KC_TRNS,
|
||||||
KC_TRNS,KC_TRNS,KC_TRNS,
|
KC_TRNS,KC_TRNS,KC_TRNS,
|
||||||
// right hand. Sending KC_P instead of Semicolon because I use Colemak in software.
|
// right hand
|
||||||
KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||||
KC_TRNS, KC_TRNS, KC_TRNS,KC_EQL, KC_TRNS, KC_TRNS, KC_F12,
|
KC_TRNS, KC_TRNS, KC_TRNS,KC_EQL, KC_TRNS, KC_TRNS, KC_F12,
|
||||||
KC_AMPR, KC_MINS,KC_UNDS, KC_P, KC_PLUS, KC_TRNS,
|
KC_AMPR, KC_MINS,KC_UNDS, CM_SCLN, KC_PLUS, KC_TRNS,
|
||||||
KC_TRNS, KC_PIPE, KC_LPRN,KC_RPRN, KC_3, KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_PIPE, KC_LPRN,KC_RPRN, KC_3, KC_TRNS, KC_TRNS,
|
||||||
KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
KC_TRNS, KC_TRNS,
|
KC_TRNS, KC_TRNS,
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#define CM_E KC_K
|
#define CM_E KC_K
|
||||||
#define CM_I KC_L
|
#define CM_I KC_L
|
||||||
#define CM_O KC_SCLN
|
#define CM_O KC_SCLN
|
||||||
#define CM_SCLN LSFT(CM_SCLN)
|
#define CM_COLN LSFT(CM_SCLN)
|
||||||
|
|
||||||
#define CM_Z KC_Z
|
#define CM_Z KC_Z
|
||||||
#define CM_X KC_X
|
#define CM_X KC_X
|
||||||
|
|
Loading…
Reference in a new issue