Skip to content

Commit

Permalink
[master] Upgrade QMK
Browse files Browse the repository at this point in the history
  • Loading branch information
zored committed Feb 27, 2020
1 parent 2ee9df5 commit 66f1000
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 31 deletions.
6 changes: 0 additions & 6 deletions compiler/template/zored_keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@ enum custom_keycodes {
DYNAMIC_MACRO_RANGE,
};

#include "dynamic_macro.h"

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
{{{layers.keys}}}
};
Expand Down Expand Up @@ -341,10 +339,6 @@ void matrix_scan_user(void) {
}

bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (!process_record_dynamic_macro(keycode, record)) {
return false;
}

bool complete = false;

switch (keycode) {
Expand Down
1 change: 1 addition & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ keyboards:
COMBO_ENABLE: 'yes'
COMMAND_ENABLE: 'no'
EXTRAKEY_ENABLE: 'yes'
DYNAMIC_MACRO_ENABLE: 'yes'
NKRO_ENABLE: 'yes'
KEY_LOCK_ENABLE: 'yes'
LEADER_ENABLE: 'yes'
Expand Down
2 changes: 1 addition & 1 deletion example/ergodox_ez/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1983,7 +1983,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* left-4 */ KC_LGUI,KC_LALT,KC_LCTRL,_______,_______,
/* left-thumb-0 */ _______,_______,
/* left-thumb-1 */ _______,
/* left-thumb-2 */ _______,_______,_______,
/* left-thumb-2 */ _______,_______,KC_LOCK,
/* right-0 */ _______,_______,_______,_______,_______,_______,_______,
/* right-1 */ _______,_______,_______,_______,_______,_______,_______,
/* right-2 */ _______,_______,_______,_______,KC_SCOLON,KC_QUOT,
Expand Down
2 changes: 1 addition & 1 deletion example/ergodox_ez/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ EXTRAKEY_ENABLE = yes

NKRO_ENABLE = yes

KEY_LOCK_ENABLE = no
KEY_LOCK_ENABLE = yes

LEADER_ENABLE = yes

Expand Down
8 changes: 1 addition & 7 deletions example/planck/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1951,8 +1951,6 @@ enum custom_keycodes {
DYNAMIC_MACRO_RANGE,
};

#include "dynamic_macro.h"

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[LAYER_DEFAULT] = LAYOUT_planck_grid(
Expand Down Expand Up @@ -2005,7 +2003,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* 0 */ _______,_______,_______,_______,_______,_______,_______,_______,_______,KC_UP,_______,_______,
/* 1 */ KC_TAB,_______,_______,_______,_______,_______,_______,_______,KC_LEFT,KC_DOWN,KC_RGHT,_______,
/* 2 */ KC_LSHIFT,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
/* 3 */ KC_LCTRL,KC_LALT,KC_LGUI,_______,_______,_______,_______,_______,KC_RGUI,KC_RALT,KC_RCTRL,_______
/* 3 */ KC_LCTRL,KC_LALT,KC_LGUI,KC_LOCK,_______,_______,_______,_______,KC_RGUI,KC_RALT,KC_RCTRL,_______
)

};
Expand Down Expand Up @@ -2052,10 +2050,6 @@ void matrix_scan_user(void) {
}

bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (!process_record_dynamic_macro(keycode, record)) {
return false;
}

bool complete = false;

switch (keycode) {
Expand Down
4 changes: 3 additions & 1 deletion example/planck/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ COMMAND_ENABLE = no

EXTRAKEY_ENABLE = yes

DYNAMIC_MACRO_ENABLE = yes

NKRO_ENABLE = yes

KEY_LOCK_ENABLE = no
KEY_LOCK_ENABLE = yes

LEADER_ENABLE = yes

Expand Down
12 changes: 12 additions & 0 deletions patches/0000-tap-dance.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 1b5ce3292..d7f24baec 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -194,6 +194,7 @@ bool process_record_quantum(keyrecord_t *record) {

#ifdef TAP_DANCE_ENABLE
preprocess_tap_dance(keycode, record);
+ keycode = get_record_keycode(record);
#endif

if (!(
14 changes: 0 additions & 14 deletions patches/0000-top-dir-and-tap-dance.patch

This file was deleted.

2 changes: 1 addition & 1 deletion vendor/qmk_firmware
Submodule qmk_firmware updated 7768 files

0 comments on commit 66f1000

Please sign in to comment.