From 4d5eeb3d7d366d3f120059b6d64a3145591df7a3 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Wed, 6 Sep 2017 12:19:40 -0400 Subject: [PATCH] update planck stuff --- keyboards/planck/config.h | 2 +- keyboards/planck/keymaps/default/keymap.c | 2 +- keyboards/planck/rules.mk | 4 ++-- quantum/quantum.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/keyboards/planck/config.h b/keyboards/planck/config.h index ebaf3fb64..c8f4377f0 100644 --- a/keyboards/planck/config.h +++ b/keyboards/planck/config.h @@ -23,7 +23,7 @@ along with this program. If not, see . /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6060 -#define MANUFACTURER Ortholinear Keyboards +#define MANUFACTURER OLKB #define PRODUCT The Planck Keyboard #define DESCRIPTION A compact ortholinear keyboard diff --git a/keyboards/planck/keymaps/default/keymap.c b/keyboards/planck/keymaps/default/keymap.c index f71a2b59b..2cfc1330e 100644 --- a/keyboards/planck/keymaps/default/keymap.c +++ b/keyboards/planck/keymaps/default/keymap.c @@ -163,7 +163,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * `-----------------------------------------------------------------------------------' */ [_ADJUST] = { - {_______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL }, + {_______, RESET, DEBUG, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL }, {_______, _______, MU_MOD, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, PLOVER, _______}, {_______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______}, {_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______} diff --git a/keyboards/planck/rules.mk b/keyboards/planck/rules.mk index 8f8477c18..32a9a26c7 100644 --- a/keyboards/planck/rules.mk +++ b/keyboards/planck/rules.mk @@ -53,10 +53,10 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096 BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) MOUSEKEY_ENABLE = no # Mouse keys(+4700) EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) +CONSOLE_ENABLE = yes # Console for debug(+400) COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality MIDI_ENABLE = yes # MIDI controls AUDIO_ENABLE = yes # Audio output on port C6 UNICODE_ENABLE = no # Unicode diff --git a/quantum/quantum.c b/quantum/quantum.c index 65213eaea..87975ef99 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -253,8 +253,8 @@ bool process_record_quantum(keyrecord_t *record) { break; case DEBUG: if (record->event.pressed) { - print("\nDEBUG: enabled.\n"); debug_enable = true; + print("DEBUG: enabled.\n"); } return false; break;