moved to enum instead of defines

This commit is contained in:
Nikolai Grigoriev 2024-08-05 18:41:20 -04:00
parent 644a8e156e
commit 1708841218

View File

@ -17,10 +17,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include QMK_KEYBOARD_H
#define _BASE 0 // default layer
#define _MAGIC 1
#define _NUMPAD 2
#define _FN 3
enum layers {
_BASE,
_MAGIC,
_NUMPAD,
_FN
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_5x7_2_6(