47 lines
1.6 KiB
C
47 lines
1.6 KiB
C
|
|
|
|
#define BETA_LAYER_MAGIC_MACRO BETA_LAYER(ARROWS)
|
|
|
|
#ifdef BETA_LAYER_LAYOUTS
|
|
#define BETA_LAYER_CONTEXT_DATA LAYOUT_NULL
|
|
BETA_LAYER_MAGIC_MACRO
|
|
#endif
|
|
|
|
#ifdef BETA_LAYER_KEYS
|
|
#define BETA_LAYER_CONTEXT_DATA LAYOUT_voyager(\
|
|
KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
|
KC_TRNS, KC_NO, KC_NO, KC_UP, KC_NO, KC_PGUP, \
|
|
KC_TRNS, LALT(KC_LCTL), KC_LEFT, KC_DOWN, KC_RIGHT, KC_PGDN, \
|
|
KC_LCTL, LGUI(KC_LCTL), KC_NO, KC_NO, KC_NO, KC_NO, \
|
|
KC_NO, KC_NO, \
|
|
\
|
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
|
KC_NO, KC_NO, KC_PGUP, KC_NO, KC_NO, KC_NO, \
|
|
KC_NO, LCTL(KC_LEFT), KC_PGDN, LCTL(KC_RIGHT), KC_NO, KC_NO, \
|
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
|
KC_TRNS, KC_TRNS \
|
|
)
|
|
|
|
BETA_LAYER_MAGIC_MACRO
|
|
#endif
|
|
|
|
#ifdef BETA_LAYER_LEDS
|
|
#define BETA_LAYER_CONTEXT_DATA {\
|
|
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
LC_OFF, LC_OFF, LC_OFF, LC_GRN, LC_OFF, LC_ORN, \
|
|
LC_OFF, LC_ORN, LC_GRN, LC_GRN, LC_GRN, LC_ORN, \
|
|
LC_OFF, LC_ORN, LC_OFF, LC_OFF, LC_RED, LC_OFF, \
|
|
LC_OFF, LC_OFF, \
|
|
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
LC_OFF, LC_OFF, LC_OFF, LC_ORN, LC_OFF, LC_OFF, \
|
|
LC_OFF, LC_OFF, LC_GRN, LC_ORN, LC_GRN, LC_OFF, \
|
|
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
LC_OFF, LC_OFF \
|
|
}
|
|
|
|
BETA_LAYER_MAGIC_MACRO
|
|
#endif
|
|
|
|
|
|
#undef BETA_LAYER_CONTEXT_DATA
|
|
#undef BETA_LAYER_MAGIC_MACRO |