summaryrefslogtreecommitdiff
path: root/keyboards/dp60
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dp60')
-rw-r--r--keyboards/dp60/info.json1
-rw-r--r--keyboards/dp60/matrix.c2
-rw-r--r--keyboards/dp60/rules.mk2
3 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/dp60/info.json b/keyboards/dp60/info.json
index 783999f8ed..fd97cf38fe 100644
--- a/keyboards/dp60/info.json
+++ b/keyboards/dp60/info.json
@@ -12,6 +12,7 @@
"LAYOUT_60_wkl": "LAYOUT_60_ansi_tsangan_split_rshift",
"LAYOUT_60_wkl_split_bs": "LAYOUT_60_tsangan_hhkb"
},
+ "community_layouts": ["60_ansi", "60_hhkb", "60_iso", "60_ansi_split_bs_rshift"],
"layouts": {
"LAYOUT_60_ansi_tsangan_split_rshift": {
"layout": [
diff --git a/keyboards/dp60/matrix.c b/keyboards/dp60/matrix.c
index a9974757dd..dbcc68056d 100644
--- a/keyboards/dp60/matrix.c
+++ b/keyboards/dp60/matrix.c
@@ -123,7 +123,7 @@ static void init_rows(void)
setPinInputHigh(D4);
}
-static uint8_t read_rows()
+static uint8_t read_rows(void)
{
return ((readPin(E6) ? 0 : (1 << 0)) |
(readPin(F6) ? 0 : (1 << 1)) |
diff --git a/keyboards/dp60/rules.mk b/keyboards/dp60/rules.mk
index 8acc7d85d4..3d162925f2 100644
--- a/keyboards/dp60/rules.mk
+++ b/keyboards/dp60/rules.mk
@@ -19,7 +19,5 @@ RGBLIGHT_ENABLE = no # Use RGB underglow light
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = IS31FL3731 # Use RGB matrix
-LAYOUTS = 60_ansi 60_hhkb 60_iso 60_ansi_split_bs_rshift
-
CUSTOM_MATRIX = yes
SRC += matrix.c