diff options
Diffstat (limited to 'users/manna-harbour_miryoku/manna-harbour_miryoku.h')
| -rw-r--r-- | users/manna-harbour_miryoku/manna-harbour_miryoku.h | 44 |
1 files changed, 33 insertions, 11 deletions
diff --git a/users/manna-harbour_miryoku/manna-harbour_miryoku.h b/users/manna-harbour_miryoku/manna-harbour_miryoku.h index 5f543cb0f..4d62c1707 100644 --- a/users/manna-harbour_miryoku/manna-harbour_miryoku.h +++ b/users/manna-harbour_miryoku/manna-harbour_miryoku.h | |||
| @@ -1,19 +1,41 @@ | |||
| 1 | // Copyright 2019 Manna Harbour | ||
| 2 | // https://github.com/manna-harbour/miryoku | ||
| 1 | // generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- | 3 | // generated from users/manna-harbour_miryoku/miryoku.org -*- buffer-read-only: t -*- |
| 2 | 4 | ||
| 5 | // This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 6 | |||
| 3 | #pragma once | 7 | #pragma once |
| 4 | 8 | ||
| 5 | #include QMK_KEYBOARD_H | 9 | #include QMK_KEYBOARD_H |
| 6 | 10 | ||
| 7 | #define KC_NP KC_NO // key is not present | 11 | #define U_NP KC_NO // key is not present |
| 8 | #define KC_NA KC_NO // present but not available for use | 12 | #define U_NA KC_NO // present but not available for use |
| 9 | #define KC_NU KC_NO // available but not used | 13 | #define U_NU KC_NO // available but not used |
| 10 | 14 | ||
| 11 | // non-KC_ keycodes | 15 | enum layers { BASE, MBO, MEDIA, NAV, MOUSE, SYM, NUM, FUN }; |
| 12 | #define KC_RST RESET | ||
| 13 | #define KC_TOG RGB_TOG | ||
| 14 | #define KC_MOD RGB_MOD | ||
| 15 | #define KC_HUI RGB_HUI | ||
| 16 | #define KC_SAI RGB_SAI | ||
| 17 | #define KC_VAI RGB_VAI | ||
| 18 | 16 | ||
| 19 | enum layers { BASE, MBO, MEDR, NAVR, MOUR, NSSL, NSL, FUNL }; | 17 | #if defined MIRYOKU_CLIPBOARD_FUN |
| 18 | #define U_RDO KC_AGIN | ||
| 19 | #define U_PST KC_PSTE | ||
| 20 | #define U_CPY KC_COPY | ||
| 21 | #define U_CUT KC_CUT | ||
| 22 | #define U_UND KC_UNDO | ||
| 23 | #elif defined MIRYOKU_CLIPBOARD_MAC | ||
| 24 | #define U_RDO SCMD(KC_Z) | ||
| 25 | #define U_PST LCMD(KC_V) | ||
| 26 | #define U_CPY LCMD(KC_C) | ||
| 27 | #define U_CUT LCMD(KC_X) | ||
| 28 | #define U_UND LCMD(KC_Z) | ||
| 29 | #elif defined MIRYOKU_CLIPBOARD_WIN | ||
| 30 | #define U_RDO C(KC_Y) | ||
| 31 | #define U_PST C(KC_V) | ||
| 32 | #define U_CPY C(KC_C) | ||
| 33 | #define U_CUT C(KC_X) | ||
| 34 | #define U_UND C(KC_Z) | ||
| 35 | #else | ||
| 36 | #define U_RDO KC_AGIN | ||
| 37 | #define U_PST S(KC_INS) | ||
| 38 | #define U_CPY C(KC_INS) | ||
| 39 | #define U_CUT S(KC_DEL) | ||
| 40 | #define U_UND KC_UNDO | ||
| 41 | #endif | ||
