From ae3e5e0557f03adc03c9c20b1c0ad12999409541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 24 Jul 2022 20:56:18 +0100 Subject: [PATCH] move layers to the header --- keyboards/rkb1/keymaps/default/keymap.c | 2 -- keyboards/rkb1/keymaps/default/keymap.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/rkb1/keymaps/default/keymap.c b/keyboards/rkb1/keymaps/default/keymap.c index 29f9667b4a..b1aab66019 100644 --- a/keyboards/rkb1/keymaps/default/keymap.c +++ b/keyboards/rkb1/keymaps/default/keymap.c @@ -36,8 +36,6 @@ static void tap_on_layer(uint16_t key, uint8_t layer) { unregister_on_layer(key, layer); } -enum layers { _L1, _L2, _L3, _L4, _L5, _L6, _L7, _L8, _L9, KP1, KP2, KP3, STN, FN }; - #define LSHCTL S(KC_LCTL) #define LSHGUI S(KC_LGUI) #define LSHALT S(KC_LALT) diff --git a/keyboards/rkb1/keymaps/default/keymap.h b/keyboards/rkb1/keymaps/default/keymap.h index 64c990d002..cefd388270 100644 --- a/keyboards/rkb1/keymaps/default/keymap.h +++ b/keyboards/rkb1/keymaps/default/keymap.h @@ -318,3 +318,5 @@ struct decoded_key { uint8_t layer; uint8_t flags; }; + +enum layers { _L1, _L2, _L3, _L4, _L5, _L6, _L7, _L8, _L9, KP1, KP2, KP3, STN, FN };