diff options
author | Gergely Nagy <algernon@users.noreply.github.com> | 2018-04-05 10:09:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 10:09:37 +0200 |
commit | deef1540183fa4f2d5b9f859227eb0f5dac7ad34 (patch) | |
tree | 8cd146c9ee5516eac6290a1e8879c0b6170e3689 | |
parent | bf5dc6a1510bef1916a075b344440b2a894015e2 (diff) | |
parent | 6f7a9d09f569023239e3aa6c4adf77417d1bab0b (diff) | |
download | Model01-Firmware-deef1540183fa4f2d5b9f859227eb0f5dac7ad34.tar.gz Model01-Firmware-deef1540183fa4f2d5b9f859227eb0f5dac7ad34.zip |
Merge pull request #39 from gedankenexperimenter/f/keymaps
Updated definition of keymaps[] to use KEYMAPS() macro
-rw-r--r-- | Model01-Firmware.ino | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index 4be4af4..1549174 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -128,7 +128,7 @@ enum { QWERTY, NUMPAD, FUNCTION }; // layers */ // *INDENT-OFF* -const Key keymaps[][ROWS][COLS] PROGMEM = { +KEYMAPS( [QWERTY] = KEYMAP_STACKED (___, Key_1, Key_2, Key_3, Key_4, Key_5, Key_LEDEffectNext, @@ -176,7 +176,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { ___, ___, Key_Enter, ___, ___) -}; + ) // KEYMAPS( /* Re-enable astyle's indent enforcement */ // *INDENT-ON* |