miryoku_zmk/miryoku/miryoku.h
Manna Harbour 4c51e25422 Change to X macros for layer list
- Supports adding and removing layers from custom_config.h
- Add "U_" prefix to layer names
- Populate keymap from X macro
- Rename miryoku_alternatives.h to miryoku_layer_alternatives.h
- Rename miryoku_layer.h to miryoku_layer_selection.h
- Remove miryoku_layer_names.h
- Add miryoku_layer_list.h
2022-06-02 16:03:51 +10:00

25 lines
603 B
C

// Copyright 2022 Manna Harbour
// https://github.com/manna-harbour/miryoku
#pragma once
#include "miryoku_babel/miryoku_layer_selection.h"
#include "miryoku_babel/miryoku_layer_list.h"
#define U_MACRO_VA_ARGS(macro, ...) macro(__VA_ARGS__)
#define U_STRINGIFY(x) #x
#define U_NP &none // key is not present
#define U_NA &none // present but not available for use
#define U_NU &none // available but not used
#define U_TAPPING_TERM 200
#include "miryoku_clipboard.h"
#if defined (MIRYOKU_KLUDGE_MOUSEKEYSPR)
#include "miryoku_kludge_mousekeyspr.h"
#else
#include "miryoku_mousekeys.h"
#endif