Skip to content

Commit

Permalink
Merge pull request #74 from zsa/planckez-disable-leds
Browse files Browse the repository at this point in the history
Planck Ez disable leds
  • Loading branch information
ezuk authored Jun 7, 2019
2 parents 1a3f69b + f55c4ce commit a31212a
Show file tree
Hide file tree
Showing 6 changed files with 391 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keyboards/planck/ez/ez.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
#include "ez.h"

#ifdef RGB_MATRIX_ENABLE
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
/* Refer to IS31 manual for these locations
* driver
Expand Down Expand Up @@ -99,6 +100,7 @@ led_config_t g_led_config = { {
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1
} };
#endif


void matrix_init_kb(void) {
Expand Down
1 change: 1 addition & 0 deletions keyboards/planck/keymaps/default/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
SRC += muse.c
RGB_MATRIX_ENABLE = no
39 changes: 39 additions & 0 deletions keyboards/planck/keymaps/glow/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#pragma once

#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PLANCK_SOUND)
// #define STARTUP_SONG SONG(NO_SOUND)

#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
SONG(COLEMAK_SOUND), \
SONG(DVORAK_SOUND) \
}
#endif

/*
* MIDI options
*/

/* Prevent use of disabled MIDI features in the keymap */
//#define MIDI_ENABLE_STRICT 1

/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/

#define MIDI_BASIC

/* enable advanced MIDI features:
- MIDI notes can be added to the keymap
- Octave shift and transpose
- Virtual sustain, portamento, and modulation wheel
- etc.
*/
//#define MIDI_ADVANCED

/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 2

// Most tactile encoders have detents every 4 stages
#define ENCODER_RESOLUTION 4

Loading

0 comments on commit a31212a

Please sign in to comment.