mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
moved to enum instead of defines
This commit is contained in:
parent
644a8e156e
commit
1708841218
@ -17,10 +17,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
#define _BASE 0 // default layer
|
enum layers {
|
||||||
#define _MAGIC 1
|
_BASE,
|
||||||
#define _NUMPAD 2
|
_MAGIC,
|
||||||
#define _FN 3
|
_NUMPAD,
|
||||||
|
_FN
|
||||||
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
[_BASE] = LAYOUT_5x7_2_6(
|
[_BASE] = LAYOUT_5x7_2_6(
|
||||||
|
Loading…
Reference in New Issue
Block a user