diff options
| author | Nick Christus <136611+nchristus@users.noreply.github.com> | 2020-09-09 00:33:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-08 22:33:38 -0700 |
| commit | 076b9d482f271bad14cb31c67aee6226b069e734 (patch) | |
| tree | d9d77f27422a8c14ca405d056737eb9f353d7f26 /users/nchristus | |
| parent | 08f6e64137e2a3fe5cf54928b193c3421e71b625 (diff) | |
| download | qmk_firmware-076b9d482f271bad14cb31c67aee6226b069e734.tar.gz qmk_firmware-076b9d482f271bad14cb31c67aee6226b069e734.zip | |
[Keymap] Added nchristus userspace (#10261)
* userspace: added nchristus
* userspace: updates per PR review
Diffstat (limited to 'users/nchristus')
| -rw-r--r-- | users/nchristus/nchristus.c | 18 | ||||
| -rw-r--r-- | users/nchristus/nchristus.h | 87 | ||||
| -rw-r--r-- | users/nchristus/rules.mk | 0 |
3 files changed, 105 insertions, 0 deletions
diff --git a/users/nchristus/nchristus.c b/users/nchristus/nchristus.c new file mode 100644 index 000000000..555cd74ce --- /dev/null +++ b/users/nchristus/nchristus.c | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Nick Christus <nick.christus@hey.com> @nchristus | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #include "nchristus.h" | ||
diff --git a/users/nchristus/nchristus.h b/users/nchristus/nchristus.h new file mode 100644 index 000000000..751b5c8f5 --- /dev/null +++ b/users/nchristus/nchristus.h | |||
| @@ -0,0 +1,87 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Nick Christus <nick.christus@hey.com> @nchristus | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include QMK_KEYBOARD_H | ||
| 21 | |||
| 22 | // Define layer names | ||
| 23 | enum userspace_layers { | ||
| 24 | _QWRTY = 0, | ||
| 25 | _LOWER, | ||
| 26 | _RAISE, | ||
| 27 | _ARROW, | ||
| 28 | _FNCTN, | ||
| 29 | _ADJST | ||
| 30 | }; | ||
| 31 | |||
| 32 | // CTRL / ESC | ||
| 33 | #define CTL_ESC CTL_T(KC_ESC) | ||
| 34 | |||
| 35 | // Force quit dialog | ||
| 36 | #define C_O_ESC LALT(LGUI(KC_ESC)) | ||
| 37 | |||
| 38 | // Mac lock | ||
| 39 | #define MAC_LOK LCTL(LGUI(KC_Q)) | ||
| 40 | |||
| 41 | // 1Password | ||
| 42 | #define OPW_OPN LALT(LGUI(KC_BSLS)) | ||
| 43 | #define OPW_CPY S(LGUI(KC_C)) | ||
| 44 | |||
| 45 | // Screenshotting | ||
| 46 | #define SCR_FLL S(LGUI(KC_3)) | ||
| 47 | #define SCR_CRP S(LGUI(KC_4)) | ||
| 48 | |||
| 49 | // FSNotes | ||
| 50 | #define FSNOTES LALT(LGUI(LSFT(LCTL(KC_0)))) | ||
| 51 | |||
| 52 | #if (!defined(LAYOUT) && defined(KEYMAP)) | ||
| 53 | #define LAYOUT KEYMAP | ||
| 54 | #endif | ||
| 55 | |||
| 56 | #define KEYMAP_wrapper(...) LAYOUT(__VA_ARGS__) | ||
| 57 | #define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__) | ||
| 58 | #define LAYOUT_ortho_4x12_wrapper(...) LAYOUT_ortho_4x12(__VA_ARGS__) | ||
| 59 | |||
| 60 | #define ___________________BLANK___________________ _______, _______, _______, _______, _______ | ||
| 61 | |||
| 62 | #define __________________QWERTYL1_________________ KC_Q, KC_W, KC_E, KC_R, KC_T | ||
| 63 | #define __________________QWERTYR1_________________ KC_Y, KC_U, KC_I, KC_O, KC_P | ||
| 64 | |||
| 65 | #define __________________QWERTYL2_________________ KC_A, KC_S, KC_D, KC_F, KC_G | ||
| 66 | #define __________________QWERTYR2_________________ KC_H, KC_J, KC_K, KC_L, KC_SCLN | ||
| 67 | |||
| 68 | #define __________________QWERTYL3_________________ KC_Z, KC_X, KC_C, KC_V, KC_B | ||
| 69 | #define __________________QWERTYR3_________________ KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH | ||
| 70 | |||
| 71 | #define _________________FUNC_LEFT_________________ KC_F1, KC_F2, KC_F3, KC_F4, KC_F5 | ||
| 72 | #define _________________FUNC_RIGHT________________ KC_F6, KC_F7, KC_F8, KC_F9, KC_F10 | ||
| 73 | |||
| 74 | #define ________________NUMBER_LEFT________________ KC_1, KC_2, KC_3, KC_4, KC_5 | ||
| 75 | #define ________________NUMBER_RIGHT_______________ KC_6, KC_7, KC_8, KC_9, KC_0 | ||
| 76 | |||
| 77 | #define _________________LOWER_L1__________________ ________________NUMBER_LEFT________________ | ||
| 78 | #define _________________LOWER_L2__________________ KC_MINS, KC_PLUS, KC_LBRC, KC_RBRC, KC_BSLS | ||
| 79 | |||
| 80 | #define _________________LOWER_R1__________________ ________________NUMBER_RIGHT_______________ | ||
| 81 | #define _________________LOWER_R2__________________ KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______ | ||
| 82 | |||
| 83 | #define _________________RAISE_L1__________________ KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC | ||
| 84 | #define _________________RAISE_L2__________________ ___________________BLANK___________________ | ||
| 85 | |||
| 86 | #define _________________RAISE_R1__________________ KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN | ||
| 87 | #define _________________RAISE_R2__________________ KC_UNDS, KC_EQL, KC_LCBR, KC_RCBR, KC_PIPE | ||
diff --git a/users/nchristus/rules.mk b/users/nchristus/rules.mk new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/users/nchristus/rules.mk | |||
