From 47d23276af2ff0f2057fd2db748ea22d2fde88c3 Mon Sep 17 00:00:00 2001 From: Louis Orleans Date: Thu, 21 Sep 2017 15:11:36 -0700 Subject: [PATCH] feat(planck): prep for RGB --- keyboards/planck/keymaps/dudeofawesome/config.h | 5 ++++- keyboards/planck/keymaps/dudeofawesome/readme.md | 2 +- keyboards/planck/keymaps/dudeofawesome/rules.mk | 6 ++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/keyboards/planck/keymaps/dudeofawesome/config.h b/keyboards/planck/keymaps/dudeofawesome/config.h index 3538fc0388..3353a716c4 100644 --- a/keyboards/planck/keymaps/dudeofawesome/config.h +++ b/keyboards/planck/keymaps/dudeofawesome/config.h @@ -28,7 +28,7 @@ - MIDI notes can be sent when in Music mode is on */ -#define MIDI_BASIC +// #define MIDI_BASIC /* enable advanced MIDI features: - MIDI notes can be added to the keymap @@ -41,4 +41,7 @@ /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ //#define MIDI_TONE_KEYCODE_OCTAVES 2 +#define RGB_DI_PIN D7 // The pin the LED strip is connected to +#define RGBLED_NUM 3 // Number of LEDs in your strip + #endif diff --git a/keyboards/planck/keymaps/dudeofawesome/readme.md b/keyboards/planck/keymaps/dudeofawesome/readme.md index ba468eaec1..875db48779 100644 --- a/keyboards/planck/keymaps/dudeofawesome/readme.md +++ b/keyboards/planck/keymaps/dudeofawesome/readme.md @@ -1 +1 @@ -# The DudeOfAwesome's Planck Layout +# DudeOfAwesome's Planck Layout diff --git a/keyboards/planck/keymaps/dudeofawesome/rules.mk b/keyboards/planck/keymaps/dudeofawesome/rules.mk index 457a3d01d4..fa3139f27a 100644 --- a/keyboards/planck/keymaps/dudeofawesome/rules.mk +++ b/keyboards/planck/keymaps/dudeofawesome/rules.mk @@ -1,3 +1,9 @@ ifndef QUANTUM_DIR include ../../../../Makefile endif + +MOUSEKEY_ENABLE = no # Mouse keys(+4700) +NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +MIDI_ENABLE = no # MIDI controls +AUDIO_ENABLE = yes # Audio output on port C6 +RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.