summaryrefslogtreecommitdiff
path: root/keyboards/dnworks/numpad/info.json
diff options
context:
space:
mode:
authorleyew <102467346+itsme-zeix@users.noreply.github.com>2024-02-02 23:37:03 +0800
committerGitHub <noreply@github.com>2024-02-02 08:37:03 -0700
commit39f06c3afb2a59d04bfc1e5ef52020bfd4e68f84 (patch)
treeb9553494a8edebbd04f94a91acfc8c26b5d00757 /keyboards/dnworks/numpad/info.json
parent06ed8dd14f004f4cac223b0f8adf18c816decdcd (diff)
[Keyboard] Add dnworks numpad (#22882)
* add dnworks numpad * Apply suggestions from code review (Added community layouts) Co-authored-by: Drashna Jaelre <drashna@live.com> * fix linting * formatted json --------- Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/dnworks/numpad/info.json')
-rw-r--r--keyboards/dnworks/numpad/info.json73
1 files changed, 73 insertions, 0 deletions
diff --git a/keyboards/dnworks/numpad/info.json b/keyboards/dnworks/numpad/info.json
new file mode 100644
index 0000000000..26fbcbf146
--- /dev/null
+++ b/keyboards/dnworks/numpad/info.json
@@ -0,0 +1,73 @@
+{
+ "manufacturer": "dnworks",
+ "keyboard_name": "DN Numpad Rev1",
+ "maintainer": "itsme-zeix",
+ "bootloader": "rp2040",
+ "diode_direction": "COL2ROW",
+ "matrix_pins": {
+ "cols": ["GP5", "GP6", "GP7", "GP25"],
+ "rows": ["GP11", "GP4", "GP3", "GP2", "GP1", "GP0", "GP24"]
+ },
+ "processor": "RP2040",
+ "usb": {
+ "device_version": "0.0.1",
+ "pid": "0x2937",
+ "vid": "0x4C23"
+ },
+ "community_layouts": ["numpad_6x4", "ortho_6x4"],
+ "layouts": {
+ "LAYOUT_numpad_6x4": {
+ "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": [1, 0], "x": 0, "y": 1.25},
+ {"matrix": [1, 1], "x": 1, "y": 1.25},
+ {"matrix": [1, 2], "x": 2, "y": 1.25},
+ {"matrix": [6, 3], "x": 3, "y": 1.25},
+ {"matrix": [2, 0], "x": 0, "y": 2.25},
+ {"matrix": [2, 1], "x": 1, "y": 2.25},
+ {"matrix": [2, 2], "x": 2, "y": 2.25},
+ {"matrix": [3, 0], "x": 0, "y": 3.25},
+ {"matrix": [3, 1], "x": 1, "y": 3.25},
+ {"matrix": [3, 2], "x": 2, "y": 3.25},
+ {"matrix": [3, 3], "x": 3, "y": 2.25, "h": 2},
+ {"matrix": [4, 0], "x": 0, "y": 4.25},
+ {"matrix": [4, 1], "x": 1, "y": 4.25},
+ {"matrix": [4, 2], "x": 2, "y": 4.25},
+ {"matrix": [5, 0], "x": 0, "y": 5.25, "w": 2},
+ {"matrix": [5, 2], "x": 2, "y": 5.25},
+ {"matrix": [5, 3], "x": 3, "y": 4.25, "h": 2}
+ ]
+ },
+ "LAYOUT_ortho_6x4": {
+ "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": [1, 0], "x": 0, "y": 1.25},
+ {"matrix": [1, 1], "x": 1, "y": 1.25},
+ {"matrix": [1, 2], "x": 2, "y": 1.25},
+ {"matrix": [6, 3], "x": 3, "y": 1.25},
+ {"matrix": [2, 0], "x": 0, "y": 2.25},
+ {"matrix": [2, 1], "x": 1, "y": 2.25},
+ {"matrix": [2, 2], "x": 2, "y": 2.25},
+ {"matrix": [2, 3], "x": 3, "y": 2.25},
+ {"matrix": [3, 0], "x": 0, "y": 3.25},
+ {"matrix": [3, 1], "x": 1, "y": 3.25},
+ {"matrix": [3, 2], "x": 2, "y": 3.25},
+ {"matrix": [3, 3], "x": 3, "y": 3.25},
+ {"matrix": [4, 0], "x": 0, "y": 4.25},
+ {"matrix": [4, 1], "x": 1, "y": 4.25},
+ {"matrix": [4, 2], "x": 2, "y": 4.25},
+ {"matrix": [4, 3], "x": 3, "y": 4.25},
+ {"matrix": [5, 0], "x": 0, "y": 5.25},
+ {"matrix": [5, 1], "x": 1, "y": 5.25},
+ {"matrix": [5, 2], "x": 2, "y": 5.25},
+ {"matrix": [5, 3], "x": 3, "y": 5.25}
+ ]
+ }
+ }
+} \ No newline at end of file