mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +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
|
||||
|
||||
#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(
|
||||
|
Loading…
Reference in New Issue
Block a user