diff options
| author | stanrc85 <47038504+stanrc85@users.noreply.github.com> | 2021-01-11 02:03:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-10 23:03:12 -0800 |
| commit | 4ae5c3a90567cd793a36fea03a807e82ed85eb49 (patch) | |
| tree | 80f43afe68fb300a3d3c38375484d63fac5764c8 | |
| parent | 4c48518a4ef25f52a9a5d214041c9aeb3e0546df (diff) | |
| download | qmk_firmware-4ae5c3a90567cd793a36fea03a807e82ed85eb49.tar.gz qmk_firmware-4ae5c3a90567cd793a36fea03a807e82ed85eb49.zip | |
[Keymap] stanrc85 Keymap/userspace updates (#11349)
* keymap updates
* adding fanfare back
| -rw-r--r-- | layouts/community/alice/stanrc85-alice/keymap.c | 6 | ||||
| -rw-r--r-- | users/stanrc85/rules.mk | 2 | ||||
| -rw-r--r-- | users/stanrc85/startup_fanfare.c | 18 |
3 files changed, 13 insertions, 13 deletions
diff --git a/layouts/community/alice/stanrc85-alice/keymap.c b/layouts/community/alice/stanrc85-alice/keymap.c index a2998f009..743f8f7df 100644 --- a/layouts/community/alice/stanrc85-alice/keymap.c +++ b/layouts/community/alice/stanrc85-alice/keymap.c | |||
| @@ -19,9 +19,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 19 | 19 | ||
| 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 21 | [_QWERTY] = LAYOUT_alice( | 21 | [_QWERTY] = LAYOUT_alice( |
| 22 | KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | 22 | KC_MPLY, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, |
| 23 | KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | 23 | CA_SCLN, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, |
| 24 | KC_PGDN, KC_CTLE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | 24 | CA_QUOT, KC_CTLE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, |
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FN2_60), | 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FN2_60), |
| 26 | KC_LCTL, KC_LALT, LT_BPCF, KC_LGUI, LT_SPCF, TD_TWIN, TD_TCTL | 26 | KC_LCTL, KC_LALT, LT_BPCF, KC_LGUI, LT_SPCF, TD_TWIN, TD_TCTL |
| 27 | ), | 27 | ), |
diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk index fc2560d3a..0c0a8dd7f 100644 --- a/users/stanrc85/rules.mk +++ b/users/stanrc85/rules.mk | |||
| @@ -20,7 +20,7 @@ ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2) | |||
| 20 | endif | 20 | endif |
| 21 | ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone) | 21 | ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone) |
| 22 | SRC += indicator_layers_sneakbox.c | 22 | SRC += indicator_layers_sneakbox.c |
| 23 | #SRC += startup_fanfare.c | 23 | SRC += startup_fanfare.c |
| 24 | OPT_DEFS += -DHAS_INDICATORS | 24 | OPT_DEFS += -DHAS_INDICATORS |
| 25 | OPT_DEFS += -DHAS_ROTARY | 25 | OPT_DEFS += -DHAS_ROTARY |
| 26 | VIA_ENABLE = yes | 26 | VIA_ENABLE = yes |
diff --git a/users/stanrc85/startup_fanfare.c b/users/stanrc85/startup_fanfare.c index 507d9e389..ae73261ae 100644 --- a/users/stanrc85/startup_fanfare.c +++ b/users/stanrc85/startup_fanfare.c | |||
| @@ -16,24 +16,24 @@ void matrix_scan_user(void) { | |||
| 16 | counter++; | 16 | counter++; |
| 17 | if (counter == 1) { | 17 | if (counter == 1) { |
| 18 | top = 1; | 18 | top = 1; |
| 19 | writePin(INDICATOR_PIN_0, !top); | 19 | writePin(INDICATOR_PIN_0, top); |
| 20 | wait_ms(200); | 20 | wait_ms(300); |
| 21 | top = 0; | 21 | top = 0; |
| 22 | writePin(INDICATOR_PIN_0, !top); | 22 | writePin(INDICATOR_PIN_0, top); |
| 23 | } | 23 | } |
| 24 | if (counter == 2) { | 24 | if (counter == 2) { |
| 25 | middle = 1; | 25 | middle = 1; |
| 26 | writePin(INDICATOR_PIN_1, !middle); | 26 | writePin(INDICATOR_PIN_1, middle); |
| 27 | wait_ms(200); | 27 | wait_ms(300); |
| 28 | middle = 0; | 28 | middle = 0; |
| 29 | writePin(INDICATOR_PIN_1, !middle); | 29 | writePin(INDICATOR_PIN_1, middle); |
| 30 | } | 30 | } |
| 31 | if (counter == 3) { | 31 | if (counter == 3) { |
| 32 | bottom = 1; | 32 | bottom = 1; |
| 33 | writePin(INDICATOR_PIN_2, !bottom); | 33 | writePin(INDICATOR_PIN_2, bottom); |
| 34 | wait_ms(200); | 34 | wait_ms(300); |
| 35 | bottom = 0; | 35 | bottom = 0; |
| 36 | writePin(INDICATOR_PIN_2, !bottom); | 36 | writePin(INDICATOR_PIN_2, bottom); |
| 37 | } | 37 | } |
| 38 | if (counter == 4) { | 38 | if (counter == 4) { |
| 39 | is_enabled = is_rgblight_startup = false; | 39 | is_enabled = is_rgblight_startup = false; |
