diff options
| author | Fred Sundvik <fsundvik@gmail.com> | 2016-07-07 19:56:55 +0300 |
|---|---|---|
| committer | Fred Sundvik <fsundvik@gmail.com> | 2016-07-07 19:56:55 +0300 |
| commit | 0bfb6086158c64960f039524bbc2bb9e7bbee378 (patch) | |
| tree | 652d89031ddd28b22fb21dd31a405873276548f1 | |
| parent | 9870082a06386eba8c0c5f22da90d0256ef6244b (diff) | |
| download | qmk_firmware-0bfb6086158c64960f039524bbc2bb9e7bbee378.tar.gz qmk_firmware-0bfb6086158c64960f039524bbc2bb9e7bbee378.zip | |
Remove unhandled KC_BTLD, RESET should be used instead
| -rw-r--r-- | keyboards/chibios_test/keymaps/default/keymap.c | 2 | ||||
| -rw-r--r-- | keyboards/infinity_ergodox/keymaps/default/keymap.c | 5 | ||||
| -rw-r--r-- | tmk_core/common/keycode.h | 5 |
3 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/chibios_test/keymaps/default/keymap.c b/keyboards/chibios_test/keymaps/default/keymap.c index 239d70007..a362e2ccf 100644 --- a/keyboards/chibios_test/keymaps/default/keymap.c +++ b/keyboards/chibios_test/keymaps/default/keymap.c | |||
| @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #include "chibios_test.h" | 18 | #include "chibios_test.h" |
| 19 | 19 | ||
| 20 | const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 20 | const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 21 | {{KC_CAPS}}, // test with KC_CAPS, KC_A, KC_BTLD | 21 | {{KC_CAPS}}, // test with KC_CAPS, KC_A, RESET |
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | const uint16_t fn_actions[] = { | 24 | const uint16_t fn_actions[] = { |
diff --git a/keyboards/infinity_ergodox/keymaps/default/keymap.c b/keyboards/infinity_ergodox/keymaps/default/keymap.c index c33fb7b92..f1e6b1c8a 100644 --- a/keyboards/infinity_ergodox/keymaps/default/keymap.c +++ b/keyboards/infinity_ergodox/keymaps/default/keymap.c | |||
| @@ -18,6 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | 18 | ||
| 19 | #include "infinity_ergodox.h" | 19 | #include "infinity_ergodox.h" |
| 20 | 20 | ||
| 21 | // Workaround for old keymap format | ||
| 22 | #define KC_RESET RESET | ||
| 23 | |||
| 21 | const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 24 | const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 22 | KEYMAP( // layer 0 : default | 25 | KEYMAP( // layer 0 : default |
| 23 | // left hand | 26 | // left hand |
| @@ -63,7 +66,7 @@ const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 63 | 66 | ||
| 64 | KEYMAP( // layer 2 : keyboard functions | 67 | KEYMAP( // layer 2 : keyboard functions |
| 65 | // left hand | 68 | // left hand |
| 66 | BTLD,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, | 69 | RESET,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, |
| 67 | TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, FN3, | 70 | TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, FN3, |
| 68 | TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, | 71 | TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, |
| 69 | TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, | 72 | TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, |
diff --git a/tmk_core/common/keycode.h b/tmk_core/common/keycode.h index 448195306..fc66dc0ef 100644 --- a/tmk_core/common/keycode.h +++ b/tmk_core/common/keycode.h | |||
| @@ -156,8 +156,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 156 | #define KC_WSTP KC_WWW_STOP | 156 | #define KC_WSTP KC_WWW_STOP |
| 157 | #define KC_WREF KC_WWW_REFRESH | 157 | #define KC_WREF KC_WWW_REFRESH |
| 158 | #define KC_WFAV KC_WWW_FAVORITES | 158 | #define KC_WFAV KC_WWW_FAVORITES |
| 159 | /* Jump to bootloader */ | ||
| 160 | #define KC_BTLD KC_BOOTLOADER | ||
| 161 | /* Transparent */ | 159 | /* Transparent */ |
| 162 | #define KC_TRANSPARENT 1 | 160 | #define KC_TRANSPARENT 1 |
| 163 | #define KC_TRNS KC_TRANSPARENT | 161 | #define KC_TRNS KC_TRANSPARENT |
| @@ -428,9 +426,6 @@ enum internal_special_keycodes { | |||
| 428 | KC_MEDIA_FAST_FORWARD, | 426 | KC_MEDIA_FAST_FORWARD, |
| 429 | KC_MEDIA_REWIND, /* 0xBC */ | 427 | KC_MEDIA_REWIND, /* 0xBC */ |
| 430 | 428 | ||
| 431 | /* Jump to bootloader */ | ||
| 432 | KC_BOOTLOADER = 0xBF, | ||
| 433 | |||
| 434 | /* Fn key */ | 429 | /* Fn key */ |
| 435 | KC_FN0 = 0xC0, | 430 | KC_FN0 = 0xC0, |
| 436 | KC_FN1, | 431 | KC_FN1, |
