summaryrefslogtreecommitdiff
path: root/users/stanrc85
diff options
context:
space:
mode:
Diffstat (limited to 'users/stanrc85')
-rw-r--r--users/stanrc85/config.h38
-rw-r--r--users/stanrc85/indicator_layers_sneakbox.c28
-rw-r--r--users/stanrc85/layer_rgb.c29
-rw-r--r--users/stanrc85/readme.md57
-rw-r--r--users/stanrc85/rgb_layers.c36
-rw-r--r--users/stanrc85/rgb_timeout.c62
-rw-r--r--users/stanrc85/rgblight_layers.c30
-rw-r--r--users/stanrc85/rgblight_layers_osa.c68
-rw-r--r--users/stanrc85/rules.mk55
-rw-r--r--users/stanrc85/stanrc85.c133
-rw-r--r--users/stanrc85/stanrc85.h55
-rw-r--r--users/stanrc85/startup_fanfare.c43
12 files changed, 0 insertions, 634 deletions
diff --git a/users/stanrc85/config.h b/users/stanrc85/config.h
deleted file mode 100644
index d9600b8b3c..0000000000
--- a/users/stanrc85/config.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#pragma once
-
-#define TAPPING_TERM 250
-#define RETRO_TAPPING
-#define FORCE_NKRO
-
-#ifdef RGBLIGHT_ENABLE
- #define RGBLIGHT_LAYERS
- #define RGBLIGHT_SLEEP
-#endif
-
-#ifdef KEYBOARD_sneakbox_aliceclone
- #define INDICATOR_PIN_0 D7
- #define INDICATOR_PIN_1 D6
- #define INDICATOR_PIN_2 D4
-#endif
-
-#if defined(KEYBOARD_mechlovin_adelais_standard_led_arm_rev4_stm32f303) || defined(KEYBOARD_mechlovin_adelais_standard_led_arm_rev4_apm32f103)
- #define INDICATOR_PIN_0 B2
- #define INDICATOR_PIN_1 C15
- #define INDICATOR_PIN_2 B9
-#endif
-
-#ifdef KEYBOARD_boardsource_the_mark
- #define RGB_MATRIX_KEYPRESSES
-#endif
-
-#ifdef KEYBOARD_jacky_studio_bear_65
- #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
- #define ENABLE_RGB_MATRIX_MULTISPLASH
- #define ENABLE_RGB_MATRIX_TYPING_HEATMAP
-#endif
-
-#ifdef KEYBOARD_nasu
- #define INDICATOR_PIN_0 B1
- #define INDICATOR_PIN_1 B0
- #define INDICATOR_PIN_2 A7
-#endif
diff --git a/users/stanrc85/indicator_layers_sneakbox.c b/users/stanrc85/indicator_layers_sneakbox.c
deleted file mode 100644
index 8aa1a41e49..0000000000
--- a/users/stanrc85/indicator_layers_sneakbox.c
+++ /dev/null
@@ -1,28 +0,0 @@
- /* Copyright 2020 Stanrc85
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "stanrc85.h"
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- writePin(INDICATOR_PIN_2, layer_state_cmp(state, _FN2_60) || layer_state_cmp(state, _DEFAULT));
- writePin(INDICATOR_PIN_1, layer_state_cmp(state, _FN1_60) || layer_state_cmp(state, _DEFAULT));
- return state;
-}
-
-bool led_update_user(led_t led_state) {
- writePin(INDICATOR_PIN_0, led_state.caps_lock);
- return false;
-} \ No newline at end of file
diff --git a/users/stanrc85/layer_rgb.c b/users/stanrc85/layer_rgb.c
deleted file mode 100644
index ad30c2ee65..0000000000
--- a/users/stanrc85/layer_rgb.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "stanrc85.h"
-
-void matrix_init_user(void) {
- rgblight_setrgb(0xFF, 0x00, 0x00);
-};
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- switch (get_highest_layer(state)) {
- case 0:
- rgblight_setrgb (0xFF, 0x00, 0x00);
- break;
- case 1:
- rgblight_setrgb (0x00, 0xFF, 0x00);
- break;
- case 2:
- rgblight_setrgb (0x00, 0x00, 0xFF);
- break;
- case 3:
- rgblight_setrgb (0xFF, 0xFF, 0xFF);
- break;
- case 4:
- rgblight_setrgb (0xFF, 0x00, 0xFF);
- break;
- default: // for any other layers, or the default layer
- rgblight_setrgb (0xFF, 0x00, 0x00);
- break;
- }
- return state;
-}
diff --git a/users/stanrc85/readme.md b/users/stanrc85/readme.md
deleted file mode 100644
index 8dff9c8e30..0000000000
--- a/users/stanrc85/readme.md
+++ /dev/null
@@ -1,57 +0,0 @@
-<!-- Copyright 2021 Stanrc85
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.-->
-
-# Stanrc85's Standard Layout
-
-Shared keymap between 60%, 65%, Alice layouts:
-- 1upkeyboards60HSE
-- Mark65
-- Sneakbox Alice
-
-## Keymap Notes
-- Layer 0 is default QWERTY layout with additional custom features:
- - SpaceFN to function layer 2 on `Space`
- - `CTRL` when held and `ESC` when tapped on `CAPS LOCK`
- - Tap Dance on `Fn1` for `CTRL+ALT+DEL` and `WIN+L`
- - Tap Dance on `ESC` for `ESC` and ` ` `
-
-![Base QWERTY Layer](https://imgur.com/gvCkVUW.png)
-
-- Layer 1 is default QWERTY with no custom features used mostly for gaming
- - Enabled by `Fn2+RCTL` from base layer
-
-![Default ANSI Layer](https://imgur.com/2SAel0K.png)
-
-- Layer 2 is Function layer:
- - F keys
- - Arrows
- - Volume and Media controls
- - AutoHotkey shortcuts based on [Speaker Control](https://github.com/stanrc85/Speaker-Control) script
- - AHK Mic is used to mute/unmute microphone
- - AHK Speaker switches audio output between headphones and speakers
-
-![Function Layer](https://imgur.com/FUjG0pL.png)
-
-- Layer 3 is RGB Underglow control and RESET
- - `Fn2+RCTL` used to toggle Default QWERTY layer on and off
- - `qmk compile` command on `Fn2+Enter`
- - `qmk flash` command on `Fn2+Shift+enter`
-
-![RGB and RESET Layer](https://imgur.com/UPdhR12.png)
-
-
-
-### Build
-To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85-ansi` or `make your_keyboard:stanrc85-alice`.
diff --git a/users/stanrc85/rgb_layers.c b/users/stanrc85/rgb_layers.c
deleted file mode 100644
index 7138323f23..0000000000
--- a/users/stanrc85/rgb_layers.c
+++ /dev/null
@@ -1,36 +0,0 @@
- /* Copyright 2021 Stanrc85
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "stanrc85.h"
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- switch (get_highest_layer(state)) {
- case _FN1_60:
- break;
- case _FN2_60:
- rgb_matrix_mode_noeeprom(RGB_MATRIX_RAINBOW_MOVING_CHEVRON);
- break;
- case _DEFAULT:
- rgb_matrix_mode_noeeprom(RGB_MATRIX_MULTISPLASH);
- break;
- case _QWERTY:
- rgb_matrix_mode_noeeprom(RGB_MATRIX_TYPING_HEATMAP);
- break;
- default: // for any other layers, or the default layer
- break;
- }
- return state;
-}
diff --git a/users/stanrc85/rgb_timeout.c b/users/stanrc85/rgb_timeout.c
deleted file mode 100644
index 4aa2427816..0000000000
--- a/users/stanrc85/rgb_timeout.c
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
-Copyright 2021 Stanrc85
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-#include "stanrc85.h"
-
-// Backlight timeout feature
-// Modified from https://www.reddit.com/r/MechanicalKeyboards/comments/ix65z0/looking_for_qmk_led_idle_timeout_info/g64yov7/
-#define BACKLIGHT_TIMEOUT 10 // in minutes
-static uint16_t idle_timer = 0;
-static uint8_t halfmin_counter = 0;
-static bool led_on = true;
-static bool rgb_on = true;
-static bool rgb_was_on = false;
-
-void matrix_scan_user(void) {
- // idle_timer needs to be set one time
- if (idle_timer == 0) idle_timer = timer_read();
- if ( (led_on && timer_elapsed(idle_timer) > 30000) || (rgb_on && timer_elapsed(idle_timer) > 30000)) {
- halfmin_counter++;
- idle_timer = timer_read();
- }
-
- if ( (led_on && halfmin_counter >= BACKLIGHT_TIMEOUT * 2) || (rgb_on && halfmin_counter >= BACKLIGHT_TIMEOUT * 2)) {
- if(rgblight_is_enabled()) {
- rgb_was_on = true;
- rgblight_disable_noeeprom();
- led_on = false;
- rgb_on = false;
- } else {
- rgb_was_on = false;
- }
- halfmin_counter = 0;
- }
-};
-
-bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
- if (led_on == false || rgb_on == false ) {
- if (rgb_was_on) {
- rgblight_enable_noeeprom();
- led_on = true;
- rgb_on = true;
- }
- }
- idle_timer = timer_read();
- halfmin_counter = 0;
- }
- return true;
-}
diff --git a/users/stanrc85/rgblight_layers.c b/users/stanrc85/rgblight_layers.c
deleted file mode 100644
index 1fbd541498..0000000000
--- a/users/stanrc85/rgblight_layers.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include "stanrc85.h"
-
-static uint8_t middle = 0;
-static uint8_t bottom = 0;
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- middle = bottom = 0;
- switch (get_highest_layer(state)) {
- case _FN1_60:
- middle = 1;
- break;
- case _FN2_60:
- bottom = 1;
- break;
- case _DEFAULT:
- middle = 1;
- bottom = 1;
- break;
- default: // for any other layers, or the default layer
- break;
- }
- return state;
-}
-
-bool led_update_user(led_t led_state) {
- writePin(INDICATOR_PIN_0, !led_state.caps_lock);
- writePin(INDICATOR_PIN_1, !middle);
- writePin(INDICATOR_PIN_2, !bottom);
- return false;
-} \ No newline at end of file
diff --git a/users/stanrc85/rgblight_layers_osa.c b/users/stanrc85/rgblight_layers_osa.c
deleted file mode 100644
index aff96c9699..0000000000
--- a/users/stanrc85/rgblight_layers_osa.c
+++ /dev/null
@@ -1,68 +0,0 @@
-#include "stanrc85.h"
-
-static uint8_t middle = 0;
-static uint8_t bottom = 0;
-
-const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS(
- {2, 2, HSV_RED},
- {6, 2, HSV_RED}
-);
-
-const rgblight_segment_t PROGMEM my_layer1_layer[] = RGBLIGHT_LAYER_SEGMENTS(
- {2, 2, HSV_GREEN},
- {6, 2, HSV_GREEN}
-);
-
-const rgblight_segment_t PROGMEM my_layer2_layer[] = RGBLIGHT_LAYER_SEGMENTS(
- {2, 2, HSV_BLUE},
- {6, 2, HSV_BLUE}
-);
-
-const rgblight_segment_t PROGMEM my_layer3_layer[] = RGBLIGHT_LAYER_SEGMENTS(
- {2, 2, HSV_WHITE},
- {6, 2, HSV_WHITE}
-);
-
-// Now define the array of layers. Later layers take precedence
-const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST(
- my_capslock_layer,
- my_layer1_layer,
- my_layer2_layer,
- my_layer3_layer
-);
-
-void keyboard_post_init_user(void) {
- // Enable the LED layers
- rgblight_layers = my_rgb_layers;
-}
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- // Both layers will light up if both kb layers are active
- rgblight_set_layer_state(1, layer_state_cmp(state, 1));
- rgblight_set_layer_state(2, layer_state_cmp(state, 2));
- rgblight_set_layer_state(3, layer_state_cmp(state, 3));
- middle = bottom = 0;
- switch (get_highest_layer(state)) {
- case _FN1_60:
- middle = 1;
- break;
- case _FN2_60:
- bottom = 1;
- break;
- case _DEFAULT:
- middle = 1;
- bottom = 1;
- break;
- default: // for any other layers, or the default layer
- break;
- }
- return state;
-}
-
-bool led_update_user(led_t led_state) {
- rgblight_set_layer_state(0, led_state.caps_lock);
- writePin(C7, led_state.caps_lock);
- writePin(C6, middle);
- writePin(B6, bottom);
- return false;
-}
diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk
deleted file mode 100644
index 141b4581a4..0000000000
--- a/users/stanrc85/rules.mk
+++ /dev/null
@@ -1,55 +0,0 @@
-TAP_DANCE_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-BACKLIGHT_ENABLE = no
-COMMAND_ENABLE = no
-MOUSEKEY_ENABLE = no
-AUDIO_ENABLE = no
-CONSOLE_ENABLE = no
-NKRO_ENABLE = yes
-LTO_ENABLE = yes
-VIA_ENABLE = yes
-
-SRC += stanrc85.c
-
-ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2)
- SRC += rgblight_layers.c
- SRC += startup_fanfare.c
- OPT_DEFS += -DHAS_INDICATORS
- VELOCIKEY_ENABLE=yes
-endif
-ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone)
- SRC += indicator_layers_sneakbox.c
- SRC += startup_fanfare.c
- OPT_DEFS += -DHAS_INDICATORS
- OPT_DEFS += -DHAS_ROTARY
-endif
-ifeq ($(strip $(KEYBOARD)), tkc/osav2)
- SRC += rgblight_layers_osa.c
- VELOCIKEY_ENABLE=yes
- SRC += rgb_timeout.c
-endif
-ifeq ($(strip $(KEYBOARD)), jacky_studio/bear_65)
- BACKLIGHT_ENABLE = yes
- RGB_MATRIX_ENABLE = yes
- RGBLIGHT_ENABLE = no
- SRC += rgb_layers.c
-endif
-ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/rgb_led/rev2)
- SRC += rgb_layers.c
- SRC += rgb_timeout.c
-endif
-ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/standard_led/arm/rev4/stm32f303)
- OPT_DEFS += -DHAS_INDICATORS
- SRC += rgb_timeout.c
- SRC += indicator_layers_sneakbox.c
-endif
-ifeq ($(strip $(KEYBOARD)), nasu)
- SRC += indicator_layers_sneakbox.c
- SRC += startup_fanfare.c
- OPT_DEFS += -DHAS_INDICATORS
-endif
-ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/standard_led/arm/rev4/apm32f103)
- OPT_DEFS += -DHAS_INDICATORS
- SRC += rgb_timeout.c
- SRC += indicator_layers_sneakbox.c
-endif
diff --git a/users/stanrc85/stanrc85.c b/users/stanrc85/stanrc85.c
deleted file mode 100644
index 6dd5db0e33..0000000000
--- a/users/stanrc85/stanrc85.c
+++ /dev/null
@@ -1,133 +0,0 @@
-#include "stanrc85.h"
-
-static td_state_t td_state;
-
-__attribute__ ((weak))
-bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-// determine the tapdance state to return
-int cur_dance (tap_dance_state_t *state) {
- if (state->count == 1) {
- if (state->interrupted || !state->pressed) { return SINGLE_TAP; }
- else { return SINGLE_HOLD; }
- }
- if (state->count == 2) { return DOUBLE_TAP; }
- else { return 3; } // any number higher than the maximum state value you return above
-}
-
-// handle the possible states for each tapdance keycode you define:
-void ctl_copy_finished (tap_dance_state_t *state, void *user_data) {
- td_state = cur_dance(state);
- switch (td_state) {
- case SINGLE_TAP:
- SEND_STRING(SS_LCTL("c"));
- break;
- case SINGLE_HOLD:
- register_mods(MOD_BIT(KC_RCTL));
- break;
- case DOUBLE_TAP:
- SEND_STRING(SS_LCTL("v"));
- }
-}
-
-void ctl_copy_reset (tap_dance_state_t *state, void *user_data) {
- switch (td_state) {
- case SINGLE_TAP:
- break;
- case SINGLE_HOLD:
- unregister_mods(MOD_BIT(KC_RCTL));
- break;
- case DOUBLE_TAP:
- break;
- }
-}
-
-#if defined(HAS_ROTARY)
- bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder */
- if (clockwise) {
- tap_code(KC_VOLD);
- } else {
- tap_code(KC_VOLU);
- }
- }
- return true;
- }
-#endif
-
-#if defined(HAS_INDICATORS)
- static uint8_t led_user = 0;
-#endif
-
-void lock_unlock (tap_dance_state_t *state, void *user_data) {
- td_state = cur_dance(state);
- switch (td_state) {
- case SINGLE_TAP: // Ctl + Alt + Del to unlock workstation
- tap_code16(KC_CAD);
- #if defined(HAS_INDICATORS)
- led_user = 0;
- #if defined(KEYBOARD_sneakbox_aliceclone) || defined(KEYBOARD_mechlovin_adelais_standard_led_arm_rev4_stm32f303)
- led_user = 1;
- #endif
- writePin(INDICATOR_PIN_0, !led_user);
- wait_ms(200);
- writePin(INDICATOR_PIN_1, !led_user);
- wait_ms(200);
- writePin(INDICATOR_PIN_2, !led_user);
- #endif
- break;
- case SINGLE_HOLD:
- break;
- case DOUBLE_TAP: //Lock workstation
- tap_code16(KC_LOCK);
- #if defined(HAS_INDICATORS)
- led_user = 1;
- #if defined(KEYBOARD_sneakbox_aliceclone) || defined(KEYBOARD_mechlovin_adelais_standard_led_arm_rev4_stm32f303)
- led_user = 0;
- #endif
- writePin(INDICATOR_PIN_2, !led_user);
- wait_ms(200);
- writePin(INDICATOR_PIN_1, !led_user);
- wait_ms(200);
- writePin(INDICATOR_PIN_0, !led_user);
- #endif
- break;
- }
-}
-
-tap_dance_action_t tap_dance_actions[] = {
- [TD_WIN] = ACTION_TAP_DANCE_FN(lock_unlock),
- [TD_ESC] = ACTION_TAP_DANCE_DOUBLE(KC_ESC, KC_GRV),
- [TD_RCTL] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, ctl_copy_finished, ctl_copy_reset)
-};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case KC_MAKE:
- if (!record->event.pressed) {
- uint8_t mods = get_mods();
- clear_mods();
- if (mods & MOD_MASK_SHIFT) {
- send_string_with_delay_P(PSTR("qmk flash -j 6 -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way
- reset_keyboard();
- }
- else
- send_string_with_delay_P(PSTR("qmk compile -j 6 -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way
- set_mods(mods);
- }
- break;
- case KC_RDP: //Opens Windows RDP
- if (!record->event.pressed) {
- register_code(KC_LGUI);
- tap_code(KC_R);
- unregister_code(KC_LGUI);
- wait_ms(200);
- send_string_with_delay_P(PSTR("mstsc"), 10);
- send_string_with_delay_P(PSTR(SS_TAP(X_ENTER)), 10);
- }
- break;
- }
- return process_record_keymap(keycode, record);
-}
diff --git a/users/stanrc85/stanrc85.h b/users/stanrc85/stanrc85.h
deleted file mode 100644
index a6550ca72c..0000000000
--- a/users/stanrc85/stanrc85.h
+++ /dev/null
@@ -1,55 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-#include "version.h"
-
-enum my_layers {
- _NUMPAD = 0, //Macropad numpad
- _NAVKEY, //Macropad nav keys
- _MEDIA, //Macropad media controls
- _RGB, //Macropad RGB controls
- _FN1PAD, //Macropad reset and make commands
- _QWERTY = 0, //Qwerty with custom shortcuts and functions
- _DEFAULT, //Default ANSI for gaming, enable with FN2+RCtl
- _FN1_60, //Function keys, arrows, custom shortcuts, volume control
- _FN2_60 //RGB Underglow controls and RESET
-};
-
-//Aliases for longer keycodes
-#define KC_CAD LALT(LCTL(KC_DEL))
-#define KC_LOCK LGUI(KC_L)
-#define CA_QUOT LCA(KC_QUOT)
-#define CA_SCLN LCA(KC_SCLN)
-#define KC_CTLE LCTL_T(KC_ESC)
-#define LT_SPCF LT(_FN1_60, KC_SPC)
-#define LT_BPCF LT(_FN1_60, KC_BSPC)
-#define TD_TESC TD(TD_ESC)
-#define TD_TWIN TD(TD_WIN)
-#define TD_TCTL TD(TD_RCTL)
-#define CA_COPY LCTL(KC_C)
-#define CA_PSTE LCTL(KC_V)
-
-enum cust_keys {
- KC_MAKE = SAFE_RANGE,
- KC_RDP
-};
-
-enum tap_dance {
- TD_WIN,
- TD_ESC,
- TD_RCTL
-};
-
-// define a type containing as many tapdance states as you need
-typedef enum {
- SINGLE_TAP,
- SINGLE_HOLD,
- DOUBLE_TAP
-} td_state_t;
-
-// function to determine the current tapdance state
-int cur_dance (tap_dance_state_t *state);
-
-// `finished` and `reset` functions for each tapdance keycode
-void ctl_copy_finished (tap_dance_state_t *state, void *user_data);
-void ctl_copy_reset (tap_dance_state_t *state, void *user_data);
diff --git a/users/stanrc85/startup_fanfare.c b/users/stanrc85/startup_fanfare.c
deleted file mode 100644
index ae73261ae5..0000000000
--- a/users/stanrc85/startup_fanfare.c
+++ /dev/null
@@ -1,43 +0,0 @@
-#include "stanrc85.h"
-
-static uint8_t top = 0;
-static uint8_t middle = 0;
-static uint8_t bottom = 0;
-
-static bool is_enabled = true;
-static bool is_rgblight_startup = true;
-static uint16_t rgblight_startup_loop_timer;
-
-void matrix_scan_user(void) {
- // Boot up "fanfare"
- if (is_rgblight_startup && is_keyboard_master()) {
- if (timer_elapsed(rgblight_startup_loop_timer) > 10) {
- static uint8_t counter;
- counter++;
- if (counter == 1) {
- top = 1;
- writePin(INDICATOR_PIN_0, top);
- wait_ms(300);
- top = 0;
- writePin(INDICATOR_PIN_0, top);
- }
- if (counter == 2) {
- middle = 1;
- writePin(INDICATOR_PIN_1, middle);
- wait_ms(300);
- middle = 0;
- writePin(INDICATOR_PIN_1, middle);
- }
- if (counter == 3) {
- bottom = 1;
- writePin(INDICATOR_PIN_2, bottom);
- wait_ms(300);
- bottom = 0;
- writePin(INDICATOR_PIN_2, bottom);
- }
- if (counter == 4) {
- is_enabled = is_rgblight_startup = false;
- }
- }
- }
-}