#ifndef MODULE_ADAFRUIT_BLE
OUT_BT,
#endif
+ RGBDEMO,
KEYCODE_END
};
}
}
+#ifdef RGBSPS_DEMO_ENABLE
+void led_demo(void) {
+ rgbsps_set(LED_IND_LINUX, 15, 15, 15);
+ rgbsps_set(LED_IND_APPLE, 15, 15, 15);
+ rgbsps_set(LED_IND_WINDOWS, 15, 15, 15);
+ rgbsps_set(LED_IND_QWERTY, 15, 10, 0);
+ rgbsps_set(LED_IND_ALT, 15, 10, 0);
+ rgbsps_set(LED_IND_AUDIO, 5, 11, 13);
+ rgbsps_set(LED_IND_BLUETOOTH, 0, 0, 15);
+ rgbsps_set(LED_IND_USB, 15, 15, 15);
+ rgbsps_set(LED_IND_CAPSLOCK, 15, 0, 0);
+ rgbsps_set(LED_IND_GUI, 15, 0, 15);
+ rgbsps_set(LED_IND_FUN, 15, 0, 0);
+ rgbsps_set(LED_IND_NUM, 0, 0, 15);
+ rgbsps_set(LED_IND_PUNC, 0, 15, 0);
+ rgbsps_set(LED_IND_GREEK, 0, 15, 15);
+ rgbsps_set(LED_IND_EMOJI, 15, 15, 0);
+ rgbsps_send();
+}
+#endif
+
void led_reset(void) {
switch (glow_mode) {
case GLOW_NONE:
led_set_default_layer_indicator();
// clicky
+#ifdef FAUXCLICKY_ENABLE
if (fauxclicky_enabled) {
rgbsps_set(LED_IND_AUDIO, 5, 11, 13);
} else {
rgbsps_set(LED_IND_AUDIO, 0, 0, 0);
}
+#endif
+
rgbsps_send();
}
* `-----------------------------------------------------------------------------------'
*/
[_SYS] = KEYMAP(
- DEBUG, QWERTY, WIN, XXXXXXX, RESET, XXXXXXX, XXXXXXX, OUT_USB, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ DEBUG, QWERTY, WIN, XXXXXXX, RESET, XXXXXXX, XXXXXXX, OUT_USB, XXXXXXX, XXXXXXX, XXXXXXX, RGBDEMO,
XXXXXXX, FC_TOG, XXXXXXX, DVORAK, XXXXXXX, GLOW, XXXXXXX, XXXXXXX, WORKMAN, LINUX, XXXXXXX, XXXXXXX,
XXXXXXX, XXXXXXX, XXXXXXX, COLEMAK, XXXXXXX, OUT_BT, NORMAN, OSX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
return true;
break;
#endif
+
+#ifdef RGBSPS_DEMO_ENABLE
+ case RGBDEMO:
+ led_demo();
+ return false;
+ break;
+#endif
}
return true;
}
#include "matrix.h"
#include "musical_notes.h"
-float fauxclicky_pressed_note[2] = MUSICAL_NOTE(_C5, 0.25);
-float fauxclicky_released_note[2] = MUSICAL_NOTE(_C4, 0.25);
+float fauxclicky_pressed_note[2] = MUSICAL_NOTE(_A4, 0.0625);
+float fauxclicky_released_note[2] = MUSICAL_NOTE(_A4, 0.0625);
float fauxclicky_beep_note[2] = MUSICAL_NOTE(_C6, 0.25);
// cubic fit {3.3, 0}, {3.5, 2.9}, {3.6, 5}, {3.7, 8.6}, {3.8, 36}, {3.9, 62}, {4.0, 73}, {4.05, 83}, {4.1, 89}, {4.15, 94}, {4.2, 100}