From 76b0530f3cf07535477a9f4d98338888aee228b3 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 25 Jun 2022 18:36:52 -0700 Subject: [PATCH] Reorganize --- keymaps/default/keymap.h | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/keymaps/default/keymap.h b/keymaps/default/keymap.h index 9e160a9..300a5ec 100644 --- a/keymaps/default/keymap.h +++ b/keymaps/default/keymap.h @@ -29,6 +29,12 @@ //#include "keymap_belgian.h" #include "keymap_us_international.h" + +#include "layers.h" +#include "tapdance.h" +#include "raw_hid.h" + + #define KC_MAC_UNDO LGUI(KC_Z) #define KC_MAC_CUT LGUI(KC_X) #define KC_MAC_COPY LGUI(KC_C) @@ -45,14 +51,6 @@ #define LSA_T(kc) MT(MOD_LSFT | MOD_LALT, kc) #define BP_NDSH_MAC ALGR(KC_8) -extern int current_lang; -extern bool g_suspend_state; -extern rgb_config_t rgb_matrix_config; - -void set_lang(int lang); -void set_lang_long(int lang, bool force); - - /* Text keyboard * * ,--------------------------------------------------. ,--------------------------------------------------. @@ -102,3 +100,11 @@ void set_lang_long(int lang, bool force); #define LC_RU_B LC_HSV( 0, 0, 165) #define LC_RU_G LC_HSV(153, 255, 153) #define LC_RU_K LC_HSV( 0, 255, 145) + + +extern int current_lang; +extern bool g_suspend_state; +extern rgb_config_t rgb_matrix_config; + +void set_lang(int lang); +void set_lang_long(int lang, bool force); \ No newline at end of file