Skip to content

Commit

Permalink
Merge commit '1cc2cb8e108582d0e52b723b843c726136aa3bc9' into develop_…
Browse files Browse the repository at this point in the history
…Sandy
  • Loading branch information
jpskenn committed Jun 10, 2023
2 parents 54e671a + 1cc2cb8 commit 006b750
Show file tree
Hide file tree
Showing 4 changed files with 605 additions and 40 deletions.
1 change: 0 additions & 1 deletion keyboards/sandy/dn0030/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/*== Lighting Layers ==*/
#define RGBLIGHT_LAYERS
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF // Overriding RGB Lighting on/off status
#define RGBLIGHT_LAYERS_RETAIN_VAL // set layer brightness to RGB Light's value (as returned by rgblight_get_val())
#define RGBLIGHT_LAYER_BLINK // Enable Blink function
#define RGBLIGHT_MAX_LAYERS 11 // Default 8.
#endif
Expand Down
4 changes: 3 additions & 1 deletion keyboards/sandy/dn0030/dn0030.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "dn0030.h"


#ifdef ENCODER_ENABLE
//------------------------------------------------------------------------------
// Rotary Encoder with VIA
Expand Down Expand Up @@ -65,5 +64,8 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
// Keyboard Initialization
//------------------------------------------------------------------------------
void keyboard_post_init_kb(void) {
// set effect range, range = after LED indicator(from 0 to 1)
rgblight_set_effect_range(2, 16);

keyboard_post_init_user();
}
Loading

0 comments on commit 006b750

Please sign in to comment.