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) | |
| download | qmk_firmware-6452973761597871e9a6fc97981c2f70deb069c8.tar.gz qmk_firmware-6452973761597871e9a6fc97981c2f70deb069c8.zip | |
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 29d5e3c2a..3875d303e 100644 --- a/keyboards/dp60/config.h +++ b/keyboards/dp60/config.h | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | 16 | ||
| 17 | /* key matrix size */ | 17 | /* key matrix size */ |
| 18 | #define MATRIX_ROWS 5 | 18 | #define MATRIX_ROWS 5 |
| 19 | #define MATRIX_COLS 14 | 19 | #define MATRIX_COLS 15 |
| 20 | #define UNUSED_PINS | 20 | #define UNUSED_PINS |
| 21 | #define DIODE_DIRECTION COL2ROW | 21 | #define DIODE_DIRECTION COL2ROW |
| 22 | 22 | ||
| @@ -49,7 +49,3 @@ | |||
| 49 | #define DRIVER_1_LED_TOTAL 36 | 49 | #define DRIVER_1_LED_TOTAL 36 |
| 50 | #define DRIVER_2_LED_TOTAL 36 | 50 | #define DRIVER_2_LED_TOTAL 36 |
| 51 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) | 51 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) |
| 52 | |||
| 53 | #if defined(VIA_ENABLE) | ||
| 54 | # define DYNAMIC_KEYMAP_LAYER_COUNT 2 | ||
| 55 | #endif | ||
diff --git a/keyboards/dp60/keymaps/via/keymap.c b/keyboards/dp60/keymaps/via/keymap.c index 2e2694326..822705576 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] = { | |||
| 14 | _______, _______,_______,_______,_______,_______,KC_LEFT,KC_DOWN, KC_UP,KC_RIGHT,KC_HOME,KC_END,_______, | 14 | _______, _______,_______,_______,_______,_______,KC_LEFT,KC_DOWN, KC_UP,KC_RIGHT,KC_HOME,KC_END,_______, |
| 15 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | 15 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, |
| 16 | _______,_______,_______, _______, _______,_______,TG(0),_______), | 16 | _______,_______,_______, _______, _______,_______,TG(0),_______), |
| 17 | |||
| 18 | [2] = LAYOUT_60_ansi_split_bs_rshift( | ||
| 19 | _______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______,_______,_______, | ||
| 20 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 21 | _______, _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______, | ||
| 22 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 23 | _______,_______,_______, _______, _______,_______,_______,_______), | ||
| 24 | |||
| 25 | [3] = LAYOUT_60_ansi_split_bs_rshift( | ||
| 26 | _______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______,_______,_______, | ||
| 27 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 28 | _______, _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______, | ||
| 29 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 30 | _______,_______,_______, _______, _______,_______,_______,_______) | ||
| 17 | }; \ No newline at end of file | 31 | }; \ No newline at end of file |
diff --git a/keyboards/dp60/keymaps/via/rules.mk b/keyboards/dp60/keymaps/via/rules.mk index 036bd6d1c..36b7ba9cb 100644 --- a/keyboards/dp60/keymaps/via/rules.mk +++ b/keyboards/dp60/keymaps/via/rules.mk | |||
| @@ -1 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes \ No newline at end of file | 1 | VIA_ENABLE = yes |
| 2 | LTO_ENABLE = yes | ||
