diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2020-04-12 22:28:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 07:28:05 +0200 |
commit | 6452973761597871e9a6fc97981c2f70deb069c8 (patch) | |
tree | c542967439f5fa3a3e586a369623ab0922737187 /keyboards/dp60 | |
parent | a2309b306aee4547208d571cf1dad7b0fda53523 (diff) |
DP60 VIA cleanups (#8697)
* some via cleanups for the dp60 firmware
* update matrix size
Diffstat (limited to 'keyboards/dp60')
-rw-r--r-- | keyboards/dp60/config.h | 6 | ||||
-rw-r--r-- | keyboards/dp60/keymaps/via/keymap.c | 14 | ||||
-rw-r--r-- | keyboards/dp60/keymaps/via/rules.mk | 3 |
3 files changed, 17 insertions, 6 deletions
diff --git a/keyboards/dp60/config.h b/keyboards/dp60/config.h index 29d5e3c2a4..3875d303ea 100644 --- a/keyboards/dp60/config.h +++ b/keyboards/dp60/config.h @@ -16,7 +16,7 @@ /* key matrix size */ #define MATRIX_ROWS 5 -#define MATRIX_COLS 14 +#define MATRIX_COLS 15 #define UNUSED_PINS #define DIODE_DIRECTION COL2ROW @@ -49,7 +49,3 @@ #define DRIVER_1_LED_TOTAL 36 #define DRIVER_2_LED_TOTAL 36 #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) - -#if defined(VIA_ENABLE) -# define DYNAMIC_KEYMAP_LAYER_COUNT 2 -#endif diff --git a/keyboards/dp60/keymaps/via/keymap.c b/keyboards/dp60/keymaps/via/keymap.c index 2e2694326c..8227055766 100644 --- a/keyboards/dp60/keymaps/via/keymap.c +++ b/keyboards/dp60/keymaps/via/keymap.c @@ -14,4 +14,18 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______,_______,_______,_______,_______,KC_LEFT,KC_DOWN, KC_UP,KC_RIGHT,KC_HOME,KC_END,_______, _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, _______, _______,_______,TG(0),_______), + + [2] = LAYOUT_60_ansi_split_bs_rshift( + _______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______,_______,_______, + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, + _______, _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______, + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, + _______,_______,_______, _______, _______,_______,_______,_______), + + [3] = LAYOUT_60_ansi_split_bs_rshift( + _______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______,_______,_______, + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, + _______, _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______, + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, + _______,_______,_______, _______, _______,_______,_______,_______) };
\ No newline at end of file diff --git a/keyboards/dp60/keymaps/via/rules.mk b/keyboards/dp60/keymaps/via/rules.mk index 036bd6d1c3..36b7ba9cbc 100644 --- a/keyboards/dp60/keymaps/via/rules.mk +++ b/keyboards/dp60/keymaps/via/rules.mk @@ -1 +1,2 @@ -VIA_ENABLE = yes
\ No newline at end of file +VIA_ENABLE = yes +LTO_ENABLE = yes |