[Keymap] stanrc85 Keymap/userspace updates (#11349)

* keymap updates

* adding fanfare back
This commit is contained in:
stanrc85 2021-01-11 02:03:12 -05:00 committed by GitHub
parent 4c48518a4e
commit 4ae5c3a905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

View file

@ -19,9 +19,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_alice( [_QWERTY] = LAYOUT_alice(
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, 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,
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, 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,
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, 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,
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), 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),
KC_LCTL, KC_LALT, LT_BPCF, KC_LGUI, LT_SPCF, TD_TWIN, TD_TCTL KC_LCTL, KC_LALT, LT_BPCF, KC_LGUI, LT_SPCF, TD_TWIN, TD_TCTL
), ),

View file

@ -20,7 +20,7 @@ ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2)
endif endif
ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone) ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone)
SRC += indicator_layers_sneakbox.c SRC += indicator_layers_sneakbox.c
#SRC += startup_fanfare.c SRC += startup_fanfare.c
OPT_DEFS += -DHAS_INDICATORS OPT_DEFS += -DHAS_INDICATORS
OPT_DEFS += -DHAS_ROTARY OPT_DEFS += -DHAS_ROTARY
VIA_ENABLE = yes VIA_ENABLE = yes

View file

@ -16,24 +16,24 @@ void matrix_scan_user(void) {
counter++; counter++;
if (counter == 1) { if (counter == 1) {
top = 1; top = 1;
writePin(INDICATOR_PIN_0, !top); writePin(INDICATOR_PIN_0, top);
wait_ms(200); wait_ms(300);
top = 0; top = 0;
writePin(INDICATOR_PIN_0, !top); writePin(INDICATOR_PIN_0, top);
} }
if (counter == 2) { if (counter == 2) {
middle = 1; middle = 1;
writePin(INDICATOR_PIN_1, !middle); writePin(INDICATOR_PIN_1, middle);
wait_ms(200); wait_ms(300);
middle = 0; middle = 0;
writePin(INDICATOR_PIN_1, !middle); writePin(INDICATOR_PIN_1, middle);
} }
if (counter == 3) { if (counter == 3) {
bottom = 1; bottom = 1;
writePin(INDICATOR_PIN_2, !bottom); writePin(INDICATOR_PIN_2, bottom);
wait_ms(200); wait_ms(300);
bottom = 0; bottom = 0;
writePin(INDICATOR_PIN_2, !bottom); writePin(INDICATOR_PIN_2, bottom);
} }
if (counter == 4) { if (counter == 4) {
is_enabled = is_rgblight_startup = false; is_enabled = is_rgblight_startup = false;