Initial commit
This commit is contained in:
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
config.h
|
||||
manna-harbour_miryoku.c
|
||||
manna-harbour_miryoku.h
|
||||
miryoku_babel/
|
||||
post_rules.mk
|
||||
readme.org
|
||||
rules.mk
|
||||
|
||||
52
custom_config.h
Normal file
52
custom_config.h
Normal file
@@ -0,0 +1,52 @@
|
||||
// Copyright 2019 Manna Harbour
|
||||
// https://github.com/manna-harbour/miryoku
|
||||
|
||||
// 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/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define MIRYOKU_LAYERMAPPING_UMLAUT MIRYOKU_MAPPING
|
||||
|
||||
#define MIRYOKU_LAYER_BASE \
|
||||
KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, \
|
||||
LGUI_T(KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), LT(U_UMLAUT, KC_G), LT(U_UMLAUT, KC_M),LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), LGUI_T(KC_O), \
|
||||
LT(U_BUTTON,KC_Z), ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, ALGR_T(KC_DOT), LT(U_BUTTON,KC_SLSH),\
|
||||
U_NP, U_NP, LT(U_MEDIA,KC_ESC),LT(U_NAV,KC_SPC), LT(U_MOUSE,KC_TAB), LT(U_SYM,KC_ENT), LT(U_NUM,KC_BSPC), LT(U_FUN,KC_DEL), U_NP, U_NP
|
||||
|
||||
#define MIRYOKU_LAYER_UMLAUT \
|
||||
KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, RALT(KC_Y), KC_Y, KC_QUOT, \
|
||||
RALT(KC_Q), LALT_T(KC_R), RALT(KC_S), LSFT_T(KC_T), LT(U_UMLAUT, KC_G), LT(U_UMLAUT, KC_M),LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), RALT(KC_P), \
|
||||
LT(U_BUTTON,KC_Z), ALGR_T(KC_X), KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, ALGR_T(KC_DOT), LT(U_BUTTON,KC_SLSH),\
|
||||
U_NP, U_NP, LT(U_MEDIA,KC_ESC),LT(U_NAV,KC_SPC), LT(U_MOUSE,KC_TAB), LT(U_SYM,KC_ENT), LT(U_NUM,KC_BSPC), LT(U_FUN,KC_DEL), U_NP, U_NP
|
||||
|
||||
#define MIRYOKU_LAYER_EXTRA \
|
||||
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Z, KC_U, KC_I, KC_O, KC_P, \
|
||||
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, \
|
||||
LGUI_T(KC_Y), LALT_T(KC_X), LCTL_T(KC_C), LSFT_T(KC_V), KC_B, KC_N, LSFT_T(KC_M), LCTL_T(KC_COMM), LALT_T(KC_DOT), LGUI_T(KC_SLSH), \
|
||||
U_NP, U_NP, LT(U_MEDIA,KC_ESC),LT(U_NAV,KC_SPC), LT(U_MOUSE,KC_TAB), LT(U_SYM,KC_ENT), LT(U_NUM,KC_BSPC), LT(U_FUN,KC_DEL), U_NP, U_NP
|
||||
|
||||
#define MIRYOKU_LAYER_NUM \
|
||||
KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, U_NA, TD(U_TD_U_BASE), TD(U_TD_U_EXTRA), TD(U_TD_U_TAP), TD(U_TD_BOOT), \
|
||||
KC_SCLN, KC_1, KC_2, KC_3, KC_EQL, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, \
|
||||
KC_GRV, KC_4, KC_5, KC_6, KC_BSLS, U_NA, TD(U_TD_U_NUM), TD(U_TD_U_NAV), KC_ALGR, U_NA, \
|
||||
U_NP, U_NP, KC_DOT, KC_0, KC_MINS, U_NA, U_NA, U_NA, U_NP, U_NP
|
||||
|
||||
#define MIRYOKU_LAYER_FUN \
|
||||
KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, U_NA, TD(U_TD_U_BASE), TD(U_TD_U_EXTRA), TD(U_TD_U_TAP), TD(U_TD_BOOT), \
|
||||
KC_F11, KC_F1, KC_F2, KC_F3, KC_SCRL, U_NA, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, \
|
||||
KC_F10, KC_F4, KC_F5, KC_F6, KC_PAUS, U_NA, TD(U_TD_U_FUN), TD(U_TD_U_MEDIA), KC_ALGR, U_NA, \
|
||||
U_NP, U_NP, KC_APP, KC_SPC, KC_TAB, U_NA, U_NA, U_NA, U_NP, U_NP
|
||||
|
||||
#define MIRYOKU_LAYER_LIST \
|
||||
MIRYOKU_X(BASE, "Base") \
|
||||
MIRYOKU_X(UMLAUT, "Umlaut") \
|
||||
MIRYOKU_X(EXTRA, "Extra") \
|
||||
MIRYOKU_X(TAP, "Tap") \
|
||||
MIRYOKU_X(BUTTON, "Button") \
|
||||
MIRYOKU_X(NAV, "Nav") \
|
||||
MIRYOKU_X(MOUSE, "Mouse") \
|
||||
MIRYOKU_X(MEDIA, "Media") \
|
||||
MIRYOKU_X(NUM, "Num") \
|
||||
MIRYOKU_X(SYM, "Sym") \
|
||||
MIRYOKU_X(FUN, "Fun")
|
||||
|
||||
3
custom_rules.mk
Executable file
3
custom_rules.mk
Executable file
@@ -0,0 +1,3 @@
|
||||
# Copyright 2019 Manna Harbour
|
||||
# https://github.com/manna-harbour/miryoku
|
||||
|
||||
Reference in New Issue
Block a user