Skip to content

Commit

Permalink
DP60 VIA cleanups (qmk#8697)
Browse files Browse the repository at this point in the history
* some via cleanups for the dp60 firmware

* update matrix size
  • Loading branch information
mechmerlin authored and Quarren42 committed Apr 15, 2020
1 parent cd67e88 commit fa860d5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
6 changes: 1 addition & 5 deletions keyboards/dp60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
14 changes: 14 additions & 0 deletions keyboards/dp60/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(
_______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______,_______,_______,
_______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
_______, _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,
_______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
_______,_______,_______, _______, _______,_______,_______,_______)
};
3 changes: 2 additions & 1 deletion keyboards/dp60/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
VIA_ENABLE = yes
VIA_ENABLE = yes
LTO_ENABLE = yes

0 comments on commit fa860d5

Please sign in to comment.