summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/dactyl_manuform/4x5
diff options
context:
space:
mode:
authorDuncan Sutherland <75046609+dunk2k@users.noreply.github.com>2023-05-20 13:06:53 +0100
committerGitHub <noreply@github.com>2023-05-20 22:06:53 +1000
commitd1395ca4d52ee8c510b5105917f9138a85721548 (patch)
tree323561d0ae1833f0da0abfb8054100f641aaa4b3 /keyboards/handwired/dactyl_manuform/4x5
parent4dcb46e284abb52dc90146ae64d24cf9665b6ec6 (diff)
add additional layouts to `dactyl_manuform` variants (#20688)
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/4x5')
-rw-r--r--keyboards/handwired/dactyl_manuform/4x5/info.json50
-rw-r--r--keyboards/handwired/dactyl_manuform/4x5/keymaps/default/keymap.c20
-rw-r--r--keyboards/handwired/dactyl_manuform/4x5/readme.md6
3 files changed, 76 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/4x5/info.json b/keyboards/handwired/dactyl_manuform/4x5/info.json
index bb3b3e6c2c..5fdab01ef4 100644
--- a/keyboards/handwired/dactyl_manuform/4x5/info.json
+++ b/keyboards/handwired/dactyl_manuform/4x5/info.json
@@ -21,6 +21,7 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "community_layouts": ["split_3x5_3"],
"layouts": {
"LAYOUT": {
"layout": [
@@ -84,6 +85,55 @@
{"matrix": [9, 1], "x": 8, "y": 6},
{"matrix": [9, 2], "x": 9, "y": 6}
]
+ },
+ "LAYOUT_split_3x5_3": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+ {"matrix": [0, 2], "x": 2, "y": 0},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0},
+
+ {"matrix": [5, 4], "x": 10, "y": 0},
+ {"matrix": [5, 3], "x": 11, "y": 0},
+ {"matrix": [5, 2], "x": 12, "y": 0},
+ {"matrix": [5, 1], "x": 13, "y": 0},
+ {"matrix": [5, 0], "x": 14, "y": 0},
+
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1},
+ {"matrix": [1, 2], "x": 2, "y": 1},
+ {"matrix": [1, 3], "x": 3, "y": 1},
+ {"matrix": [1, 4], "x": 4, "y": 1},
+
+ {"matrix": [6, 4], "x": 10, "y": 1},
+ {"matrix": [6, 3], "x": 11, "y": 1},
+ {"matrix": [6, 2], "x": 12, "y": 1},
+ {"matrix": [6, 1], "x": 13, "y": 1},
+ {"matrix": [6, 0], "x": 14, "y": 1},
+
+ {"matrix": [2, 0], "x": 0, "y": 2},
+ {"matrix": [2, 1], "x": 1, "y": 2},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [2, 3], "x": 3, "y": 2},
+ {"matrix": [2, 4], "x": 4, "y": 2},
+
+ {"matrix": [7, 4], "x": 10, "y": 2},
+ {"matrix": [7, 3], "x": 11, "y": 2},
+ {"matrix": [7, 2], "x": 12, "y": 2},
+ {"matrix": [7, 1], "x": 13, "y": 2},
+ {"matrix": [7, 0], "x": 14, "y": 2},
+
+ {"matrix": [3, 3], "x": 3, "y": 4},
+ {"matrix": [3, 4], "x": 4, "y": 4},
+
+ {"matrix": [8, 4], "x": 10, "y": 4},
+ {"matrix": [8, 3], "x": 11, "y": 4},
+
+ {"matrix": [4, 4], "x": 5, "y": 5},
+
+ {"matrix": [9, 4], "x": 9, "y": 5}
+ ]
}
}
}
diff --git a/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/keymap.c b/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/keymap.c
index 7f71f3db89..375c208244 100644
--- a/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/keymap.c
+++ b/keyboards/handwired/dactyl_manuform/4x5/keymaps/default/keymap.c
@@ -1,3 +1,23 @@
+/*
+This is the c configuration file for the keymap
+
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2015 Jack Humbert
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include QMK_KEYBOARD_H
#define _BASE 0
diff --git a/keyboards/handwired/dactyl_manuform/4x5/readme.md b/keyboards/handwired/dactyl_manuform/4x5/readme.md
new file mode 100644
index 0000000000..b332f63f9f
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x5/readme.md
@@ -0,0 +1,6 @@
+## QMK Layouts
+
+The following layout is supported:
+| Layout | Diagram |
+| :---: | :---: |
+| Split_3x5_3 | ![split_3x5_3](https://i.imgur.com/vxnpauX.jpg) |