diff options
Diffstat (limited to 'users/manna-harbour_miryoku/manna-harbour_miryoku.h')
-rw-r--r-- | users/manna-harbour_miryoku/manna-harbour_miryoku.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/users/manna-harbour_miryoku/manna-harbour_miryoku.h b/users/manna-harbour_miryoku/manna-harbour_miryoku.h index f6ef63c360..4d1fbf17cf 100644 --- a/users/manna-harbour_miryoku/manna-harbour_miryoku.h +++ b/users/manna-harbour_miryoku/manna-harbour_miryoku.h @@ -1,15 +1,25 @@ -// Copyright 2019 Manna Harbour +// Copyright 2022 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 -#include "miryoku_babel/miryoku_layer_names.h" -#include "miryoku_babel/miryoku_layer.h" +#include "miryoku_babel/miryoku_layer_selection.h" +#include "miryoku_babel/miryoku_layer_list.h" + +enum miryoku_layers { +#define MIRYOKU_X(LAYER, STRING) U_##LAYER, +MIRYOKU_LAYER_LIST +#undef MIRYOKU_X +}; #define U_MACRO_VA_ARGS(macro, ...) macro(__VA_ARGS__) +#if !defined (MIRYOKU_MAPPING) + #define MIRYOKU_MAPPING LAYOUT_miryoku +#endif + #define U_NP KC_NO // key is not present #define U_NA KC_NO // present but not available for use #define U_NU KC_NO // available but not used |