aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/planck/old_keymap_files/common_keymaps/keymap_matthew.c
diff options
context:
space:
mode:
authorGravatar fauxpark <fauxpark@gmail.com>2019-07-10 08:47:35 +1000
committerGravatar skullydazed <skullydazed@users.noreply.github.com>2019-08-30 15:01:52 -0700
commit554e4bf25c4bcbf263b2e73c6148b7ea1d520762 (patch)
treee191e836e955d354adc9c37a742b43a6a76feeb4 /keyboards/planck/old_keymap_files/common_keymaps/keymap_matthew.c
parent9e20478e6bdebc9cea49204482992471bccaf6a1 (diff)
downloadqmk_firmware-554e4bf25c4bcbf263b2e73c6148b7ea1d520762.tar.gz
Migrate ACTION_LAYER_MOMENTARYs to MO() (#5176)
* Migrate ACTION_LAYER_MOMENTARYs to MO() * Add changelog entry * Update docs/ChangeLog/20190830/PR5176.md Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com>
Diffstat (limited to 'keyboards/planck/old_keymap_files/common_keymaps/keymap_matthew.c')
-rw-r--r--keyboards/planck/old_keymap_files/common_keymaps/keymap_matthew.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/planck/old_keymap_files/common_keymaps/keymap_matthew.c b/keyboards/planck/old_keymap_files/common_keymaps/keymap_matthew.c
index 196b2d777..fe0dfa619 100644
--- a/keyboards/planck/old_keymap_files/common_keymaps/keymap_matthew.c
+++ b/keyboards/planck/old_keymap_files/common_keymaps/keymap_matthew.c
@@ -22,12 +22,15 @@
#include "keymap.h"
+#define KC_MO1 MO(1)
+#define KC_MO2 MO(2)
+
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* 0: dvorak */
[0] = KEYMAP_GRID( ESC, SCLN, COMM, DOT, P, Y, F, G, C, R, L, BSPC, \
GRV, A, O, E, U, I, D, H, T, N, S, MINS, \
TAB, QUOT, Q, J, K, X, B, M, W, V, Z, ENT, \
- LCTL, LGUI, LALT, RALT, FN1, LSFT, SPC, FN2, LEFT, DOWN, UP, RGHT),
+ LCTL, LGUI, LALT, RALT, MO1, LSFT, SPC, MO2, LEFT, DOWN, UP, RGHT),
/* 1: lower (FN1) */
[1] = KEYMAP_GRID( F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, \
@@ -44,9 +47,6 @@ const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
const uint16_t PROGMEM fn_actions[] = {
- [1] = ACTION_LAYER_MOMENTARY(1), // lower Fn layer
- [2] = ACTION_LAYER_MOMENTARY(2), // raise Fn layer
-
// lower row1
[17] = ACTION_MODS_KEY(MOD_LSFT, KC_5), // %
[18] = ACTION_MODS_KEY(MOD_LSFT, KC_SLASH), // ?