Skip to content

Commit

Permalink
Remove unhandled KC_BTLD, RESET should be used instead
Browse files Browse the repository at this point in the history
  • Loading branch information
fredizzimo committed Jul 7, 2016
1 parent 9870082 commit 0bfb608
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion keyboards/chibios_test/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "chibios_test.h"

const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
{{KC_CAPS}}, // test with KC_CAPS, KC_A, KC_BTLD
{{KC_CAPS}}, // test with KC_CAPS, KC_A, RESET
};

const uint16_t fn_actions[] = {
Expand Down
5 changes: 4 additions & 1 deletion keyboards/infinity_ergodox/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "infinity_ergodox.h"

// Workaround for old keymap format
#define KC_RESET RESET

const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KEYMAP( // layer 0 : default
// left hand
Expand Down Expand Up @@ -63,7 +66,7 @@ const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

KEYMAP( // layer 2 : keyboard functions
// left hand
BTLD,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,
RESET,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, FN3,
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,
Expand Down
5 changes: 0 additions & 5 deletions tmk_core/common/keycode.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define KC_WSTP KC_WWW_STOP
#define KC_WREF KC_WWW_REFRESH
#define KC_WFAV KC_WWW_FAVORITES
/* Jump to bootloader */
#define KC_BTLD KC_BOOTLOADER
/* Transparent */
#define KC_TRANSPARENT 1
#define KC_TRNS KC_TRANSPARENT
Expand Down Expand Up @@ -428,9 +426,6 @@ enum internal_special_keycodes {
KC_MEDIA_FAST_FORWARD,
KC_MEDIA_REWIND, /* 0xBC */

/* Jump to bootloader */
KC_BOOTLOADER = 0xBF,

/* Fn key */
KC_FN0 = 0xC0,
KC_FN1,
Expand Down

0 comments on commit 0bfb608

Please sign in to comment.