aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/maxr1998/phoebe/config.h7
-rw-r--r--keyboards/maxr1998/phoebe/keymaps/default/keymap.c12
-rw-r--r--keyboards/maxr1998/phoebe/phoebe.c2
3 files changed, 19 insertions, 2 deletions
diff --git a/keyboards/maxr1998/phoebe/config.h b/keyboards/maxr1998/phoebe/config.h
index 2e912b096..2be26c6fd 100644
--- a/keyboards/maxr1998/phoebe/config.h
+++ b/keyboards/maxr1998/phoebe/config.h
@@ -49,9 +49,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
49 49
50/* RGB LED Setup */ 50/* RGB LED Setup */
51#define RGB_DI_PIN F0 // pin the DI on the WS2812B is hooked-up to 51#define RGB_DI_PIN F0 // pin the DI on the WS2812B is hooked-up to
52#define RGBLIGHT_ANIMATIONS // run RGB animations
53#define RGBLED_NUM 8 // number of LEDs 52#define RGBLED_NUM 8 // number of LEDs
54 53
54/* Selectively enable animation effects */
55#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
56#define RGBLIGHT_EFFECT_SNAKE
57#define RGBLIGHT_EFFECT_CHRISTMAS
58#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
59
55/* 60/*
56 * Feature disable options 61 * Feature disable options
57 * These options are also useful to firmware size reduction. 62 * These options are also useful to firmware size reduction.
diff --git a/keyboards/maxr1998/phoebe/keymaps/default/keymap.c b/keyboards/maxr1998/phoebe/keymaps/default/keymap.c
index da179c8f2..1b6052a9d 100644
--- a/keyboards/maxr1998/phoebe/keymaps/default/keymap.c
+++ b/keyboards/maxr1998/phoebe/keymaps/default/keymap.c
@@ -74,7 +74,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
74[_FN] = LAYOUT( 74[_FN] = LAYOUT(
75 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F10, KC_F11, KC_F12, 75 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F10, KC_F11, KC_F12,
76 _______, _______, _______, _______, _______, _______, _______, DE_UE, KC_F9, DE_OE, _______, KC_DEL, 76 _______, _______, _______, _______, _______, _______, _______, DE_UE, KC_F9, DE_OE, _______, KC_DEL,
77 KC_LOCK, DE_AE, DE_SS, _______, _______, G_1, _______, RGB_M_P, RGB_M_B, RGB_M_SW,_______, _______, 77 KC_LOCK, DE_AE, DE_SS, _______, _______, G_1, _______, RGB_M_P, RGB_M_SW,RGB_M_SN,_______, _______,
78 _______, _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_TOG, RGB_HUI, KC_PGUP, _______, 78 _______, _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_TOG, RGB_HUI, KC_PGUP, _______,
79 XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_END 79 XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_END
80), 80),
@@ -115,6 +115,16 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
115 return false; 115 return false;
116 } 116 }
117 break; 117 break;
118 case KC_Z:
119 if (get_mods() & MODS_ALGR_MASK) {
120 if (record->event.pressed) {
121 register_code(DE_LESS);
122 } else {
123 unregister_code(DE_LESS);
124 }
125 return false;
126 }
127 break;
118 } 128 }
119 return true; 129 return true;
120}; 130};
diff --git a/keyboards/maxr1998/phoebe/phoebe.c b/keyboards/maxr1998/phoebe/phoebe.c
index d8629f7f5..28d3afea5 100644
--- a/keyboards/maxr1998/phoebe/phoebe.c
+++ b/keyboards/maxr1998/phoebe/phoebe.c
@@ -1 +1,3 @@
1#include "phoebe.h" 1#include "phoebe.h"
2
3const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {50, 50, 50};