diff options
Diffstat (limited to 'users/nstickney/nstickney.h')
| -rw-r--r-- | users/nstickney/nstickney.h | 46 |
1 files changed, 30 insertions, 16 deletions
diff --git a/users/nstickney/nstickney.h b/users/nstickney/nstickney.h index d3f5a7c6f..2b596b25e 100644 --- a/users/nstickney/nstickney.h +++ b/users/nstickney/nstickney.h | |||
| @@ -1,20 +1,22 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | /* Copyright 2021 @nstickney |
| 2 | 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 | */ | ||
| 3 | #pragma once | 16 | #pragma once |
| 4 | #define USE_SERIAL | 17 | #include QMK_KEYBOARD_H |
| 5 | #define MASTER_LEFT | ||
| 6 | |||
| 7 | #undef UNICODE_SELECTED_MODES | ||
| 8 | #define UNICODE_SELECTED_MODES UC_OSX, UC_LNX, UC_WINC | ||
| 9 | |||
| 10 | // Layers | ||
| 11 | #define BASE 0 // Base layer | ||
| 12 | #define SYMB 1 // Symbols | ||
| 13 | #define SYSH 2 // Symbols, shifted | ||
| 14 | #define NUMP 3 // Numpad | ||
| 15 | #define FCTN 4 // Function | ||
| 16 | 18 | ||
| 17 | // Make keymaps more clear | 19 | // Specialty keycodes |
| 18 | #define CC_ESC LCTL_T(KC_ESC) | 20 | #define CC_ESC LCTL_T(KC_ESC) |
| 19 | #define CC_QUOT RCTL_T(KC_QUOT) | 21 | #define CC_QUOT RCTL_T(KC_QUOT) |
| 20 | #define AC_SLSH LALT_T(KC_SLSH) | 22 | #define AC_SLSH LALT_T(KC_SLSH) |
| @@ -22,4 +24,16 @@ | |||
| 22 | #define FC_BSLS LT(FCTN, KC_BSLS) | 24 | #define FC_BSLS LT(FCTN, KC_BSLS) |
| 23 | #define FC_MINS LT(FCTN, KC_MINS) | 25 | #define FC_MINS LT(FCTN, KC_MINS) |
| 24 | 26 | ||
| 25 | enum tap_dances {LOCKS = 0, LAYERS = 1}; \ No newline at end of file | 27 | // Layers |
| 28 | enum { | ||
| 29 | BASE, // Base layer | ||
| 30 | SYMB, // Symbols | ||
| 31 | NUMP, // Numpad | ||
| 32 | FCTN // Function | ||
| 33 | }; | ||
| 34 | |||
| 35 | // Tap dance | ||
| 36 | enum { | ||
| 37 | LOCKS, // Activate NUM/CAPS/SCROLL lock | ||
| 38 | LAYERS // Activate NUMP and SYMB layers | ||
| 39 | }; | ||
