diff options
Diffstat (limited to 'keyboards/bpiphany/frosty_flake/keymaps')
17 files changed, 610 insertions, 0 deletions
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/config.h b/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/config.h new file mode 100644 index 000000000..017ead425 --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/config.h | |||
@@ -0,0 +1,4 @@ | |||
1 | #pragma once | ||
2 | |||
3 | // place overrides here | ||
4 | #define TAPPING_TERM 150 //reduce time required to register a held key | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/keymap.c b/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/keymap.c new file mode 100644 index 000000000..20ce6bd15 --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/keymap.c | |||
@@ -0,0 +1,117 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | enum QFR_layers { | ||
4 | _COLEMAK, | ||
5 | _QWERTY, | ||
6 | _DVORAK, | ||
7 | _LOWER, | ||
8 | _MOUSE | ||
9 | }; | ||
10 | |||
11 | enum QFR_keycodes { | ||
12 | COLEMAK = SAFE_RANGE, | ||
13 | QWERTY, | ||
14 | DVORAK, | ||
15 | LOWER, | ||
16 | MOUSE | ||
17 | }; | ||
18 | |||
19 | enum custom_macros { | ||
20 | R_PIPE, | ||
21 | R_POINT | ||
22 | }; | ||
23 | |||
24 | #define SPC_LW LT(_LOWER, KC_SPC) | ||
25 | #define MSE MO(_MOUSE) | ||
26 | #define PIPE M(R_PIPE) | ||
27 | #define POINT M(R_POINT) | ||
28 | |||
29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
30 | [_COLEMAK] = LAYOUT_tkl(\ | ||
31 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR,KC_SLCK,KC_PAUS, \ | ||
32 | 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_INS, KC_HOME,KC_PGUP, \ | ||
33 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC,KC_BSLS, KC_DEL, KC_END, KC_PGDN, \ | ||
34 | KC_BSPC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT , \ | ||
35 | KC_LSPO,KC_NUBS,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, KC_UP, \ | ||
36 | KC_LCTL,KC_LGUI, KC_LALT, SPC_LW, MSE, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT,KC_DOWN,KC_RGHT | ||
37 | ), | ||
38 | |||
39 | [_QWERTY] = LAYOUT_tkl(\ | ||
40 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, \ | ||
41 | 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_INS, KC_HOME, KC_PGUP, \ | ||
42 | 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_DEL, KC_END, KC_PGDN, \ | ||
43 | KC_CAPS,KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT, \ | ||
44 | KC_LSFT,KC_NUBS,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, KC_UP, \ | ||
45 | KC_LCTL,KC_LGUI,KC_LALT, SPC_LW, MSE, KC_RGUI , KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
46 | ), | ||
47 | |||
48 | [_DVORAK] = LAYOUT_tkl(\ | ||
49 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, \ | ||
50 | 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_INS, KC_HOME, KC_PGUP, \ | ||
51 | KC_TAB, KC_QUOT,KC_COMM,KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, \ | ||
52 | KC_BSPC,KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_QUOT, KC_ENT, \ | ||
53 | KC_LSFT,KC_NUBS,KC_SCLN,KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, KC_UP, \ | ||
54 | KC_LCTL,KC_LGUI,KC_LALT, SPC_LW, MSE, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
55 | ), | ||
56 | |||
57 | [_LOWER] = LAYOUT_tkl(\ | ||
58 | RESET, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_MPRV, KC_MNXT, _______, KC_MUTE, KC_VOLD, KC_VOLU, QWERTY, COLEMAK,DVORAK, \ | ||
59 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LBRC, KC_RBRC, KC_UNDS, KC_PLUS, KC_BSPC, _______,_______,_______, \ | ||
60 | KC_TAB, KC_PGUP, KC_HOME, KC_UP, KC_END, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LCBR, KC_RCBR, KC_PIPE, _______,_______,_______, \ | ||
61 | KC_CAPS, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, \ | ||
62 | _______,XXXXXXX,POINT,PIPE, KC_LCBR, KC_LBRC, KC_GRV, KC_PIPE, KC_RBRC, KC_RCBR, _______, _______, _______, _______, \ | ||
63 | _______, _______, _______, _______, KC_RALT, _______, _______, _______, _______,_______,_______ \ | ||
64 | ), | ||
65 | |||
66 | [_MOUSE] = LAYOUT_tkl(\ | ||
67 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,_______,_______, \ | ||
68 | 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_DEL, _______,_______,_______, \ | ||
69 | KC_TAB, KC_WH_U, KC_WH_L, KC_MS_U, KC_WH_R, XXXXXXX, XXXXXXX, KC_BTN3, KC_BTN4, KC_BTN5, XXXXXXX, KC_LBRC, KC_RBRC, KC_BSLS, _______,_______,_______, \ | ||
70 | KC_BSPC, KC_WH_D, KC_MS_L, KC_MS_D, KC_MS_R, XXXXXXX, XXXXXXX, KC_BTN1, KC_BTN2, XXXXXXX, XXXXXXX, XXXXXXX, _______, \ | ||
71 | _______,XXXXXXX,PIPE,POINT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______, \ | ||
72 | _______, _______, _______, KC_ACL2, MSE, _______, _______, _______, _______,_______,_______ \ | ||
73 | ) | ||
74 | }; | ||
75 | |||
76 | // Macros to send R pointer & dplyr pipe | ||
77 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
78 | switch(id) { | ||
79 | case R_POINT: | ||
80 | if (record->event.pressed) { // pointer | ||
81 | SEND_STRING("<- "); | ||
82 | // return MACRO(D(LSFT), T(COMM), U(LSFT), T(MINS), END); | ||
83 | } | ||
84 | break; | ||
85 | case R_PIPE: | ||
86 | if (record->event.pressed) { // dplyr pipe | ||
87 | SEND_STRING("%>% "); | ||
88 | // return MACRO(D(LSFT), T(5), T(DOT), T(5), U(LSFT), END); | ||
89 | } | ||
90 | break; | ||
91 | } | ||
92 | return MACRO_NONE; | ||
93 | } | ||
94 | |||
95 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
96 | switch (keycode) { | ||
97 | case QWERTY: | ||
98 | if (record->event.pressed) { | ||
99 | set_single_persistent_default_layer(_QWERTY); | ||
100 | } | ||
101 | return false; | ||
102 | break; | ||
103 | case COLEMAK: | ||
104 | if (record->event.pressed) { | ||
105 | set_single_persistent_default_layer(_COLEMAK); | ||
106 | } | ||
107 | return false; | ||
108 | break; | ||
109 | case DVORAK: | ||
110 | if (record->event.pressed) { | ||
111 | set_single_persistent_default_layer(_DVORAK); | ||
112 | } | ||
113 | return false; | ||
114 | break; | ||
115 | } | ||
116 | return true; | ||
117 | } | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/readme.md b/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/readme.md new file mode 100644 index 000000000..f12a0ffba --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/readme.md | |||
@@ -0,0 +1,86 @@ | |||
1 | |||
2 | # TKL keymap for frosty\_flake | ||
3 | ``` | ||
4 | make frosty_flake:QFR_JM | ||
5 | |||
6 | dfu-programmer atmega32u2 erase | ||
7 | dfu-programmer atmega32u2 flash frosty_flake_QFR_JM.hex | ||
8 | dfu-programmer atmega32u2 start | ||
9 | ``` | ||
10 | |||
11 | ##Layers | ||
12 | ``` | ||
13 | ,----. ,-------------------. ,-------------------. ,-------------------. ,--------------. | ||
14 | |ESC | | F1 | F2 | F3 | F4 | | F5 | F6 | F7 | F8 | | F9 |F10 |F11 |F12 | |PrSc|ScLk|PsBk| | ||
15 | '----' '-------------------' '-------------------' '-------------------' '--------------' | ||
16 | ,-------------------------------------------------------------------------. ,--------------. | ||
17 | | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Bspc | | Ins|Home|PgUp| | ||
18 | |-------------------------------------------------------------------------| |--------------| | ||
19 | | Tab | Q | W | F | P | G | J | L | U | Y | ; | [ | ] | \ | | Del|End |PgDn| | ||
20 | |-------------------------------------------------------------------------| '--------------' | ||
21 | | Bspc | A | R | S | T | D | H | N | E | I | O | ' | Enter | | ||
22 | |-------------------------------------------------------------------------| ,----. | ||
23 | | LSPO | Z | X | C | V | B | K | M | , | . | / | RSPC | | Up | | ||
24 | |-------------------------------------------------------------------------| ,--------------. | ||
25 | |Ctrl|LGUI|LAlt| Space/Lower |MSE |RGUI|Menu|Ctrl| |Left|Down|Rght| | ||
26 | '-------------------------------------------------------------------------' '--------------' | ||
27 | |||
28 | ``` | ||
29 | ### Base Layer - Colemak | ||
30 | The base layout is Colemak by default, but this can be changed to QWERTY via the *LOWER* layer. | ||
31 | * I've implemented COLEMAK = SAFE\_RANGE when enumerating the custom\_keycodes, but I don't actually know what this does... | ||
32 | |||
33 | * Space cadet is implemented in the shift keys (hold for shift, tap for respective parentheses) | ||
34 | |||
35 | #### Layer Shifting | ||
36 | * The spacebar is a **TAP_KEY** macro - Hold for momentary *LOWER* layer, Tap for Space. | ||
37 | * The Right hand ALT key is a **TAP_TOGGLE** macro for the *MOUSE* layer (RAlt is accessible through LOWER, if you want...) | ||
38 | |||
39 | ### LOWER | ||
40 | ``` | ||
41 | ,----. ,-------------------. ,-------------------. ,-------------------. ,--------------. | ||
42 | |ESC | | F1 | F2 | F3 | F4 | |>/|||Stop| << | >> | | F9 |MUTE|Vol-|Vol+| |QWTY|CLMK|PsBk| | ||
43 | '----' '-------------------' '-------------------' '-------------------' '--------------' | ||
44 | ,-------------------------------------------------------------------------. ,--------------. | ||
45 | | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | _ | + | Bspc | | Ins|Home|PgUp| | ||
46 | |-------------------------------------------------------------------------| |--------------| | ||
47 | | Tab |PgUp|Home| Up | End| | | | | | | { | } | | | | Del|End |PgDn| | ||
48 | |-------------------------------------------------------------------------| '--------------' | ||
49 | | Bckspc|PgDn|Left|Down|Rght| | | | | | | ' | Enter | | ||
50 | |-------------------------------------------------------------------------| ,----. | ||
51 | | LSPO | <- |%>% | { | [ | ` | | | ] | } | . | / | RSPC | | Up | | ||
52 | |-------------------------------------------------------------------------| ,--------------. | ||
53 | |Ctrl|LGUI|LAlt| |RAlt|RGUI|Menu|Ctrl| |Left|Down|Rght| | ||
54 | '-------------------------------------------------------------------------' '--------------' | ||
55 | ``` | ||
56 | The *LOWER* layer contains a navigation cluster on the left hand. This layer is momentary when the spacebar or LOWER (RAlt) key is held and toggled on/off when the LOWER key is tapped. | ||
57 | |||
58 | * The Navigation cluster is offset to the right compared to the traditional **WASD** nav cluster. With this implementation, you don't need to move your hand from the home position when navigating. Page Up & Down keys are found on the far left of the cluster. | ||
59 | |||
60 | * All unused (blank on the above keymap) keys are locked out using the XXXXXXX filler (KC\_NO), all modifiers (edge |\_| keys \[except 0, \. & Fn\] on the above keymap) and the ZXCV cluster are transparent (\_\_\_\_\_\_\_) to the Base layer. | ||
61 | |||
62 | * The base layer can be switched to QWERTY or COLEMAK by pressing the Pause Break or Scroll Lock keys respectively | ||
63 | |||
64 | ### MOUSE | ||
65 | ``` | ||
66 | ,----. ,-------------------. ,-------------------. ,-------------------. ,--------------. | ||
67 | |ESC | | F1 | F2 | F3 | F4 | | F5 | F6 | F7 | F8 | | F9 |F10 |F11 |F12 | |PrSc|ScLk|PsBk| | ||
68 | '----' '-------------------' '-------------------' '-------------------' '--------------' | ||
69 | ,-------------------------------------------------------------------------. ,--------------. | ||
70 | | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Del | | Ins|Home|PgUp| | ||
71 | |-------------------------------------------------------------------------| |--------------| | ||
72 | | Tab | WhU| WhL| MsU| WhR| | | M3 | M4 | M5 | | [ | ] | \ | | Del|End |PgDn| | ||
73 | |-------------------------------------------------------------------------| '--------------' | ||
74 | | BSPC | WhD| MsL| MsD| MsR| | |LClk |RClk | | | ' | Enter | | ||
75 | |-------------------------------------------------------------------------| ,----. | ||
76 | | LSPO | Z | X | C | V | | | | , | . | / | RSPC | | Up | | ||
77 | |-------------------------------------------------------------------------| ,--------------. | ||
78 | |Ctrl|LGUI|LAlt| Accel ++ |MSE |RGUI|Menu|Ctrl| |Left|Down|Rght| | ||
79 | '-------------------------------------------------------------------------' '--------------' | ||
80 | ``` | ||
81 | The *MOUSE* layer contains keys replicating functions found on the mouse. | ||
82 | |||
83 | * The navigation cluster (Up, Down, Left, Right) is a replication of the Navigation cluster on the *LOWER* layer. The scroll keys are analagous to the Page Up & Downkeys. | ||
84 | * The primary click (right & left) buttons are on the right home row (index & middle fingers) | ||
85 | * Secondary click buttons are above the standard keys (M3/Wheel click, M4, M5) but I do not use this function. | ||
86 | |||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/rules.mk b/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/rules.mk new file mode 100644 index 000000000..2c5d53c82 --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/QFR_JM/rules.mk | |||
@@ -0,0 +1,17 @@ | |||
1 | # Build Options | ||
2 | # change to "no" to disable the options, or define them in the Makefile in | ||
3 | # the appropriate keymap folder that will get included automatically | ||
4 | # | ||
5 | BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | ||
6 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
7 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
8 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
9 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
10 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
11 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
12 | MIDI_ENABLE = no # MIDI controls | ||
13 | AUDIO_ENABLE = no # Audio output on port C6 | ||
14 | UNICODE_ENABLE = no # Unicode | ||
15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
17 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/default/keymap.c b/keyboards/bpiphany/frosty_flake/keymaps/default/keymap.c new file mode 100644 index 000000000..be1ca9ade --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/default/keymap.c | |||
@@ -0,0 +1,12 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
4 | [0] = LAYOUT( | ||
5 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
6 | 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_INS, KC_HOME, KC_PGUP, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
7 | 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_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS, | ||
8 | KC_CAPS, 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_P4, KC_P5, KC_P6, | ||
9 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
10 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT | ||
11 | ) | ||
12 | }; | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/default/readme.md b/keyboards/bpiphany/frosty_flake/keymaps/default/readme.md new file mode 100644 index 000000000..11bf4825f --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for frosty_flake | |||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/default/rules.mk b/keyboards/bpiphany/frosty_flake/keymaps/default/rules.mk new file mode 100644 index 000000000..5d0499309 --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/default/rules.mk | |||
@@ -0,0 +1,9 @@ | |||
1 | BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | ||
2 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
3 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
4 | CONSOLE_ENABLE = no # Console for debug | ||
5 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
6 | NKRO_ENABLE = yes | ||
7 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
8 | AUDIO_ENABLE = no # Audio output | ||
9 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/nikchi/config.h b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/config.h new file mode 100644 index 000000000..4bc6d2c3c --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/config.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #pragma once | ||
2 | |||
3 | // place overrides here | ||
4 | #define TAPPING_TERM 200 | ||
5 | #define LEADER_TIMEOUT 800 | ||
6 | |||
7 | #define DISABLE_SPACE_CADET_ROLLOVER | ||
8 | |||
9 | #define UNICODE_TYPE_DELAY 0 | ||
10 | |||
11 | #define LSPO_KEY KC_9 | ||
12 | #define RSPC_KEY KC_0 | ||
13 | |||
14 | #define MOUSEKEY_INTERVAL 20 | ||
15 | #define MOUSEKEY_DELAY 0 | ||
16 | #define MOUSEKEY_TIME_TO_MAX 60 | ||
17 | #define MOUSEKEY_MAX_SPEED 7 | ||
18 | #define MOUSEKEY_WHEEL_DELAY 0 | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/nikchi/keymap.c b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/keymap.c new file mode 100644 index 000000000..dd2098d94 --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/keymap.c | |||
@@ -0,0 +1,225 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | #define MAXEMOJITAPS 80 | ||
4 | |||
5 | |||
6 | //declarations for tap dancing emojis | ||
7 | void register_hex32(uint32_t hex); | ||
8 | void cycleEmojis(qk_tap_dance_state_t *state, void *user_data); | ||
9 | void cycleAnimals(qk_tap_dance_state_t *state, void *user_data); | ||
10 | void cycleFoods(qk_tap_dance_state_t *state, void *user_data); | ||
11 | void cycleEtc(qk_tap_dance_state_t *state, void *user_data); | ||
12 | void cycleAll(qk_tap_dance_state_t *state, void *user_data); | ||
13 | |||
14 | void tap(uint16_t keycode){ | ||
15 | register_code(keycode); | ||
16 | unregister_code(keycode); | ||
17 | }; | ||
18 | |||
19 | //Tap Dance Declarations | ||
20 | enum taps{ | ||
21 | TD_CTCPS = 0, | ||
22 | EMOJIS, | ||
23 | ANIMAL, | ||
24 | HAND, | ||
25 | MEMES, | ||
26 | COPA, | ||
27 | ALLS | ||
28 | }; | ||
29 | |||
30 | enum unicode_name { | ||
31 | EMOTIS = 1,//80, //1F60x - 1F64x | ||
32 | ANIMALS, //64, //1F40x - 1F43x | ||
33 | SYMBOLS,// = 45, //1F300 - 1F32C | ||
34 | FOODS,// = 87 , //1F32D - | ||
35 | ETC,// = 192, //1F44x -1F4Fx | ||
36 | VEHICLES,// = 83, //1F68x - 1F6Dx | ||
37 | SUPPLEMENT,// = 32, //1F91x-1F92x | ||
38 | ALCHEMY,// = 116 //1F70x - 1F773 | ||
39 | |||
40 | }; | ||
41 | |||
42 | enum my_macros { | ||
43 | NEWDESK = 0, | ||
44 | LEFTDESK, | ||
45 | RIGHTDESK, | ||
46 | CLOSEDESK | ||
47 | }; | ||
48 | |||
49 | |||
50 | // Tap Dance Definitions | ||
51 | qk_tap_dance_action_t tap_dance_actions[] = { | ||
52 | // Tap once for CTRL, twice for Caps Lock | ||
53 | [TD_CTCPS] = ACTION_TAP_DANCE_DOUBLE(KC_LCTL, KC_CAPS), | ||
54 | [COPA] = ACTION_TAP_DANCE_DOUBLE(LCTL(KC_C), LCTL(KC_V)), | ||
55 | [EMOJIS] = ACTION_TAP_DANCE_FN_ADVANCED_TIME(cycleEmojis, NULL, NULL, 800), | ||
56 | [ANIMAL] = ACTION_TAP_DANCE_FN_ADVANCED_TIME(cycleAnimals, NULL, NULL, 800), | ||
57 | //[SYMBOLS] = ACTION_TAP_DANCE_FN_ADVANCED_TIME(cycleSymbols, NULL, NULL, 800), | ||
58 | [FOODS] = ACTION_TAP_DANCE_FN_ADVANCED_TIME(cycleFoods, NULL, NULL, 800), | ||
59 | [ETC] = ACTION_TAP_DANCE_FN_ADVANCED_TIME(cycleEtc, NULL, NULL, 800), | ||
60 | //[VEHICLES] = ACTION_TAP_DANCE_FN_ADVANCED_TIME(cycleVehicles, NULL, NULL, 800), | ||
61 | //[SUPPLEMENT] = ACTION_TAP_DANCE_FN_ADVANCED_TIME(cycleSupplement, NULL, NULL, 800), | ||
62 | [ALLS] = ACTION_TAP_DANCE_FN_ADVANCED_TIME(cycleAll, NULL, NULL, 800) | ||
63 | // Other declarations would go here, separated by commas, if you have them | ||
64 | }; | ||
65 | |||
66 | // macros | ||
67 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
68 | switch(id) { | ||
69 | case NEWDESK: // this would trigger when you hit a key mapped as M(0) | ||
70 | if (record->event.pressed) { | ||
71 | return MACRO( I(1), D(LGUI), D(LCTL), D(D), U(LGUI), U(LCTL), U(D), END ); // NEW DESKTOP | ||
72 | } | ||
73 | break; | ||
74 | case LEFTDESK: // this would trigger when you hit a key mapped as M(0) | ||
75 | if (record->event.pressed) { | ||
76 | return MACRO( I(1), D(LGUI), D(LCTL), D(LEFT), U(LGUI), U(LCTL), U(LEFT), END ); // LEFT DESKTOP | ||
77 | } | ||
78 | break; | ||
79 | case RIGHTDESK: // this would trigger when you hit a key mapped as M(0) | ||
80 | if (record->event.pressed) { | ||
81 | return MACRO( I(1), D(LGUI), D(LCTL), D(RGHT), U(LGUI), U(LCTL), U(RGHT), END ); // RIGHT DESKTOP | ||
82 | } | ||
83 | break; | ||
84 | case CLOSEDESK: // this would trigger when you hit a key mapped as M(0) | ||
85 | if (record->event.pressed) { | ||
86 | return MACRO( I(1), D(LGUI), D(LCTL), D(F4), U(LGUI), U(LCTL), U(F4), END ); // CLOSE DESKTOP | ||
87 | } | ||
88 | break; | ||
89 | } | ||
90 | return MACRO_NONE; | ||
91 | }; | ||
92 | |||
93 | |||
94 | // emojis in unicode | ||
95 | const uint32_t PROGMEM unicode_map[] = { | ||
96 | [EMOTIS] = 0x1F600, | ||
97 | [ANIMALS] = 0x1F400, | ||
98 | [SYMBOLS] = 0x1F300, | ||
99 | [FOODS] = 0x1F32D, | ||
100 | [ETC] = 0x1F440, | ||
101 | [VEHICLES] = 0x1F680, | ||
102 | [SUPPLEMENT] = 0x1F910, | ||
103 | [ALCHEMY] = 0x1F700 | ||
104 | }; | ||
105 | // Layouts | ||
106 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
107 | [0] = LAYOUT(\ | ||
108 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, \ | ||
109 | 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_INS, KC_HOME, KC_PGUP, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \ | ||
110 | 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_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS, \ | ||
111 | KC_LCTL, 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_P4, KC_P5, KC_P6, \ | ||
112 | KC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, \ | ||
113 | TD(TD_CTCPS), KC_LGUI, KC_LALT, KC_SPC, KC_LEAD, KC_RGUI, KC_APP, MO(1), KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT \ | ||
114 | ), | ||
115 | [1] = LAYOUT(\ | ||
116 | TD(ALLS), KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, \ | ||
117 | KC_GRV, TD(EMOJIS), TD(ANIMAL), TD(ETC), TD(FOODS), KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_MPRV, KC_MPLY, KC_MNXT, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \ | ||
118 | KC_TAB, KC_Q, M(0), KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_UP, KC_RBRC, KC_BSLS, KC_MUTE, KC_VOLD, KC_VOLU, KC_P7, KC_P8, KC_P9, KC_PPLS, \ | ||
119 | KC_LCTL, M(1), M(3), M(2), KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_LEFT, KC_RGHT, KC_ENT, KC_P4, KC_P5, KC_P6, \ | ||
120 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_DOWN, KC_RSFT, KC_MS_U, KC_P1, KC_P2, KC_P3, KC_PENT, \ | ||
121 | KC_BTN1, KC_BTN3, KC_BTN2, KC_SPC, KC_RALT, KC_RGUI, TG(2), _______, KC_MS_L, KC_MS_D, KC_MS_R, KC_P0, KC_PDOT \ | ||
122 | ), | ||
123 | [2] = LAYOUT(\ | ||
124 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, \ | ||
125 | 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_MPRV, KC_MPLY, KC_MNXT, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \ | ||
126 | 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_MUTE, KC_VOLD, KC_VOLU, KC_P7, KC_P8, KC_P9, KC_PPLS, \ | ||
127 | KC_LCTL, KC_D, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, \ | ||
128 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_MS_U, KC_P1, KC_P2, KC_P3, KC_PENT, \ | ||
129 | KC_BTN1, KC_BTN3, KC_BTN2, KC_SPC, KC_RALT, KC_RGUI, TG(2), KC_NO, KC_MS_L, KC_MS_D, KC_MS_R, KC_P0, KC_PDOT \ | ||
130 | ), | ||
131 | }; | ||
132 | |||
133 | LEADER_EXTERNS(); | ||
134 | |||
135 | void matrix_scan_user(void) { | ||
136 | LEADER_DICTIONARY() { | ||
137 | leading = false; | ||
138 | leader_end(); | ||
139 | |||
140 | SEQ_TWO_KEYS(KC_A, KC_A) { // select all and copy | ||
141 | register_code(KC_LCTL); | ||
142 | tap(KC_A); | ||
143 | tap(KC_C); | ||
144 | unregister_code(KC_LCTL); | ||
145 | } | ||
146 | } | ||
147 | } | ||
148 | |||
149 | void matrix_init_user(void) { | ||
150 | _delay_ms(500); | ||
151 | set_unicode_input_mode(UC_WINC); | ||
152 | }; | ||
153 | |||
154 | void cycleAll(qk_tap_dance_state_t *state, void *user_data) { | ||
155 | if(state->count == 1) { | ||
156 | unicode_input_start(); | ||
157 | register_hex32(pgm_read_dword(&unicode_map[EMOTIS])); | ||
158 | unicode_input_finish(); | ||
159 | } | ||
160 | else if(state->count <= 1642) { | ||
161 | tap(KC_BSPC); | ||
162 | unicode_input_start(); | ||
163 | register_hex32(pgm_read_dword(&unicode_map[1])+state->count); | ||
164 | unicode_input_finish(); | ||
165 | } | ||
166 | }; | ||
167 | |||
168 | |||
169 | void cycleEmojis(qk_tap_dance_state_t *state, void *user_data) { | ||
170 | if(state->count == 1) { | ||
171 | unicode_input_start(); | ||
172 | register_hex32(pgm_read_dword(&unicode_map[EMOTIS])); | ||
173 | unicode_input_finish(); | ||
174 | } | ||
175 | else if(state->count <= 80) { | ||
176 | tap(KC_BSPC); | ||
177 | unicode_input_start(); | ||
178 | register_hex32(pgm_read_dword(&unicode_map[EMOTIS])+state->count); | ||
179 | unicode_input_finish(); | ||
180 | } | ||
181 | }; | ||
182 | |||
183 | void cycleAnimals(qk_tap_dance_state_t *state, void *user_data) { | ||
184 | if(state->count == 1) { | ||
185 | unicode_input_start(); | ||
186 | register_hex32(pgm_read_dword(&unicode_map[ANIMALS])); | ||
187 | unicode_input_finish(); | ||
188 | } | ||
189 | else if(state->count <= MAXEMOJITAPS) { | ||
190 | tap(KC_BSPC); | ||
191 | unicode_input_start(); | ||
192 | register_hex32(pgm_read_dword(&unicode_map[ANIMALS])+state->count); | ||
193 | unicode_input_finish(); | ||
194 | } | ||
195 | }; | ||
196 | |||
197 | void cycleFoods(qk_tap_dance_state_t *state, void *user_data) { | ||
198 | if(state->count == 1) { | ||
199 | unicode_input_start(); | ||
200 | register_hex32(pgm_read_dword(&unicode_map[FOODS])); | ||
201 | unicode_input_finish(); | ||
202 | } | ||
203 | else if(state->count <= 87) { | ||
204 | tap(KC_BSPC); | ||
205 | unicode_input_start(); | ||
206 | register_hex32(pgm_read_dword(&unicode_map[FOODS])+state->count); | ||
207 | unicode_input_finish(); | ||
208 | } | ||
209 | }; | ||
210 | |||
211 | |||
212 | void cycleEtc(qk_tap_dance_state_t *state, void *user_data) { | ||
213 | if(state->count == 1) { | ||
214 | unicode_input_start(); | ||
215 | register_hex32(pgm_read_dword(&unicode_map[ETC])); | ||
216 | unicode_input_finish(); | ||
217 | } | ||
218 | else if(state->count <= MAXEMOJITAPS) { | ||
219 | tap(KC_BSPC); | ||
220 | unicode_input_start(); | ||
221 | register_hex32(pgm_read_dword(&unicode_map[ETC])+state->count); | ||
222 | unicode_input_finish(); | ||
223 | } | ||
224 | }; | ||
225 | |||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/nikchi/readme.md b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/readme.md new file mode 100644 index 000000000..0b01f9dbf --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/readme.md | |||
@@ -0,0 +1,24 @@ | |||
1 | # The Nikchi's keymap for frosty_flake | ||
2 | |||
3 | ### FEATURING | ||
4 | -SPACE CADET | ||
5 | -Caps Lock is now LCTRL | ||
6 | -LCTRL is Tap(LCTRL, Caps Lock) | ||
7 | |||
8 | ### LEADER KEY - RALT | ||
9 | COMBOS | ||
10 | -a,a => Select All, Copy | ||
11 | |||
12 | |||
13 | |||
14 | ### FN REBINDS for Windows | ||
15 | ``` | ||
16 | [W] [New Desktop] | ||
17 | [A][S][D] [Left Desk][Delete Desk][Right Desk] | ||
18 | |||
19 | [Ins][Hom][PUp] [RW][PP][FF] | ||
20 | [Del][End][PDn] [MU][VD][VU] | ||
21 | |||
22 | Arrows are Mouskeys, left three mods are clicks | ||
23 | |||
24 | ``` \ No newline at end of file | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/nikchi/rules.mk b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/rules.mk new file mode 100644 index 000000000..c2682fb1b --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/rules.mk | |||
@@ -0,0 +1,20 @@ | |||
1 | # Build Options | ||
2 | # change to "no" to disable the options, or define them in the Makefile in | ||
3 | # the appropriate keymap folder that will get included automatically | ||
4 | # | ||
5 | BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | ||
6 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
7 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
8 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
9 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
10 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
11 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
12 | MIDI_ENABLE = no # MIDI controls | ||
13 | AUDIO_ENABLE = no # Audio output on port C6 | ||
14 | UNICODE_ENABLE = no # Unicode | ||
15 | UNICODEMAP_ENABLE = yes # unicodemap | ||
16 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
17 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
18 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
19 | TAP_DANCE_ENABLE = yes | ||
20 | LEADER_ENABLE = yes | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/nikchi/variableTapDance.md b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/variableTapDance.md new file mode 100644 index 000000000..b2e504139 --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/nikchi/variableTapDance.md | |||
@@ -0,0 +1,9 @@ | |||
1 | # Tap Dancing to different beats. | ||
2 | Tap Dance is constrained normally by `TAPPING_TERM` defined in your keyboard's config.h This proves to be challenging to work with when sometimes you just need more time to tap out your dance, or even a different "beat". | ||
3 | |||
4 | |||
5 | |||
6 | - `ACTION_TAP_DANCE_FN_ADVANCED_TIME(user_fn_on_each_tap, user_fn_on_dance_finished, user_fn_on_dance_reset, tap_specific_tapping_term)` : This works the same as `ACTION_TAP_DANCE_FN_ADVANCED` just with the extra `tap_specific_tapping_term` arguement at the end. This way you can set a specific tap dance to have a longer or shorter tap in between your taps, giving you more, or less, time in between each tap. | ||
7 | |||
8 | |||
9 | `tap_specific_tapping_term` should be the same type and range of values that one would put into the `TAPPING_TERM` definition in the config.h file. | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/tkl/keymap.c b/keyboards/bpiphany/frosty_flake/keymaps/tkl/keymap.c new file mode 100644 index 000000000..c5d232cce --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/tkl/keymap.c | |||
@@ -0,0 +1,11 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
4 | [0] = LAYOUT_tkl( | ||
5 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
6 | 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_INS, KC_HOME, KC_PGUP, | ||
7 | 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_DEL, KC_END, KC_PGDN, | ||
8 | KC_CAPS,KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT, | ||
9 | KC_LSFT,KC_NUBS,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
10 | KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ) | ||
11 | }; | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/tkl/readme.md b/keyboards/bpiphany/frosty_flake/keymaps/tkl/readme.md new file mode 100644 index 000000000..a076a65de --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/tkl/readme.md | |||
@@ -0,0 +1 @@ | |||
# TKL keymap for frosty_flake | |||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/tkl/rules.mk b/keyboards/bpiphany/frosty_flake/keymaps/tkl/rules.mk new file mode 100644 index 000000000..c9a6f1f1b --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/tkl/rules.mk | |||
@@ -0,0 +1,10 @@ | |||
1 | BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | ||
2 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
3 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
4 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
5 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
6 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
7 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
8 | AUDIO_ENABLE = no # Audio output | ||
9 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
10 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/via/keymap.c b/keyboards/bpiphany/frosty_flake/keymaps/via/keymap.c new file mode 100644 index 000000000..b3ef6ecad --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/via/keymap.c | |||
@@ -0,0 +1,44 @@ | |||
1 | /* Copyright 2021 Chance Monnette <[email protected]> | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | [0] = LAYOUT_tkl( | ||
20 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SLCK, KC_PAUS, | ||
21 | 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_INS, KC_HOME, KC_PGUP, | ||
22 | 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_DEL, KC_END, KC_PGDN, | ||
23 | KC_CAPS,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 | KC_LSFT,KC_NUBS,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
25 | KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT ), | ||
26 | |||
27 | [1] = LAYOUT_tkl( | ||
28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
31 | _______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, | ||
32 | _______,_______,_______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, | ||
33 | _______,_______,_______, _______, _______, _______ , _______, _______, _______, _______, _______ | ||
34 | ), | ||
35 | |||
36 | [2] = LAYOUT_tkl( | ||
37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
40 | _______,_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, | ||
41 | _______,_______,_______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______, _______, | ||
42 | _______,_______,_______, _______, _______, _______ , _______, _______, _______, _______, _______ | ||
43 | ), | ||
44 | }; | ||
diff --git a/keyboards/bpiphany/frosty_flake/keymaps/via/rules.mk b/keyboards/bpiphany/frosty_flake/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/bpiphany/frosty_flake/keymaps/via/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | VIA_ENABLE = yes | ||
2 | LTO_ENABLE = yes | ||