d01303c060a9c9d33fa79ba0372ea7403ae18a3c

Author
kbd0 <108237598+kbd0@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

[Keyboard] add kbd0 Curve0 60 ANSI (#24609)

* add kbd0/curve0/60_ansi keyboard

* Apply suggestions from code review

Co-authored-by: jack <jack@pngu.org>

* Apply suggestions from code review

Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

---------

Co-authored-by: unknown <code-monke>
Co-authored-by: jack <jack@pngu.org>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>

Diff

This diff is truncated to protect this page.

  1diff --git a/keyboards/kbd0/curve0/60_ansi/keyboard.json b/keyboards/kbd0/curve0/60_ansi/keyboard.json
  2new file mode 100644
  3index 0000000000000000000000000000000000000000..64c39cd24efdb17a6e0a7d3bb2160c7cbf399cb8
  4--- /dev/null
  5+++ b/keyboards/kbd0/curve0/60_ansi/keyboard.json
  6@@ -0,0 +1,228 @@
  7+{
  8+    "manufacturer": "kbd0",
  9+    "keyboard_name": "kbd0/curve0/60_ansi",
 10+    "maintainer": "kbd0",
 11+    "bootloader": "rp2040",
 12+    "bootloader_instructions": "Hold the top left key of the keyboard while plugging in the keyboard",
 13+    "diode_direction": "COL2ROW",
 14+    "features": {
 15+        "bootmagic": true,
 16+        "extrakey": true,
 17+        "mousekey": true,
 18+        "nkro": true
 19+    },
 20+    "matrix_pins": {
 21+        "cols": ["GP6", "GP5", "GP4", "GP7", "GP10", "GP9", "GP11", "GP12", "GP13", "GP14", "GP25", "GP20", "GP19", "GP18", "GP16"],
 22+        "rows": ["GP23", "GP22", "GP21", "GP24", "GP17"]
 23+    },
 24+    "processor": "RP2040",
 25+    "url": "https://kbd0.com/item/curve0",
 26+    "usb": {
 27+        "device_version": "1.0.0",
 28+        "pid": "0xC000",
 29+        "vid": "0xCBD0"
 30+    },
 31+    "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift"],
 32+    "layouts": {
 33+        "LAYOUT_all": {
 34+            "layout": [
 35+                {"matrix": [0, 0], "x": 0, "y": 0},
 36+                {"matrix": [0, 1], "x": 1, "y": 0},
 37+                {"matrix": [0, 2], "x": 2, "y": 0},
 38+                {"matrix": [0, 3], "x": 3, "y": 0},
 39+                {"matrix": [0, 4], "x": 4, "y": 0},
 40+                {"matrix": [0, 5], "x": 5, "y": 0},
 41+                {"matrix": [0, 6], "x": 6, "y": 0},
 42+                {"matrix": [0, 7], "x": 7, "y": 0},
 43+                {"matrix": [0, 8], "x": 8, "y": 0},
 44+                {"matrix": [0, 9], "x": 9, "y": 0},
 45+                {"matrix": [0, 10], "x": 10, "y": 0},
 46+                {"matrix": [0, 11], "x": 11, "y": 0},
 47+                {"matrix": [0, 12], "x": 12, "y": 0},
 48+                {"matrix": [0, 13], "x": 13, "y": 0},
 49+                {"matrix": [0, 14], "x": 14, "y": 0},
 50+                {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
 51+                {"matrix": [1, 1], "x": 1.5, "y": 1},
 52+                {"matrix": [1, 2], "x": 2.5, "y": 1},
 53+                {"matrix": [1, 3], "x": 3.5, "y": 1},
 54+                {"matrix": [1, 4], "x": 4.5, "y": 1},
 55+                {"matrix": [1, 5], "x": 5.5, "y": 1},
 56+                {"matrix": [1, 6], "x": 6.5, "y": 1},
 57+                {"matrix": [1, 7], "x": 7.5, "y": 1},
 58+                {"matrix": [1, 8], "x": 8.5, "y": 1},
 59+                {"matrix": [1, 9], "x": 9.5, "y": 1},
 60+                {"matrix": [1, 10], "x": 10.5, "y": 1},
 61+                {"matrix": [1, 11], "x": 11.5, "y": 1},
 62+                {"matrix": [1, 12], "x": 12.5, "y": 1},
 63+                {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
 64+                {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
 65+                {"matrix": [2, 1], "x": 1.75, "y": 2},
 66+                {"matrix": [2, 2], "x": 2.75, "y": 2},
 67+                {"matrix": [2, 3], "x": 3.75, "y": 2},
 68+                {"matrix": [2, 4], "x": 4.75, "y": 2},
 69+                {"matrix": [2, 5], "x": 5.75, "y": 2},
 70+                {"matrix": [2, 6], "x": 6.75, "y": 2},
 71+                {"matrix": [2, 7], "x": 7.75, "y": 2},
 72+                {"matrix": [2, 8], "x": 8.75, "y": 2},
 73+                {"matrix": [2, 9], "x": 9.75, "y": 2},
 74+                {"matrix": [2, 10], "x": 10.75, "y": 2},
 75+                {"matrix": [2, 11], "x": 11.75, "y": 2},
 76+                {"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
 77+                {"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
 78+                {"matrix": [3, 1], "x": 1.25, "y": 3},
 79+                {"matrix": [3, 2], "x": 2.25, "y": 3},
 80+                {"matrix": [3, 3], "x": 3.25, "y": 3},
 81+                {"matrix": [3, 4], "x": 4.25, "y": 3},
 82+                {"matrix": [3, 5], "x": 5.25, "y": 3},
 83+                {"matrix": [3, 6], "x": 6.25, "y": 3},
 84+                {"matrix": [3, 7], "x": 7.25, "y": 3},
 85+                {"matrix": [3, 8], "x": 8.25, "y": 3},
 86+                {"matrix": [3, 9], "x": 9.25, "y": 3},
 87+                {"matrix": [3, 10], "x": 10.25, "y": 3},
 88+                {"matrix": [3, 11], "x": 11.25, "y": 3},
 89+                {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
 90+                {"matrix": [3, 13], "x": 14, "y": 3},
 91+                {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
 92+                {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
 93+                {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
 94+                {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25},
 95+                {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25},
 96+                {"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25},
 97+                {"matrix": [4, 12], "x": 12.5, "y": 4, "w": 1.25},
 98+                {"matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25}
 99+            ]
100+        },
101+        "LAYOUT_60_ansi": {
102+            "layout": [
103+                {"matrix": [0, 0], "x": 0, "y": 0},
104+                {"matrix": [0, 1], "x": 1, "y": 0},
105+                {"matrix": [0, 2], "x": 2, "y": 0},
106diff --git a/keyboards/kbd0/curve0/60_ansi/keymaps/default/keymap.json b/keyboards/kbd0/curve0/60_ansi/keymaps/default/keymap.json
107new file mode 100644
108index 0000000000000000000000000000000000000000..d84bfd2bf4761f95f0443696cf600de3b9b6d0f2
109--- /dev/null
110+++ b/keyboards/kbd0/curve0/60_ansi/keymaps/default/keymap.json
111@@ -0,0 +1,22 @@
112+{
113+    "author": "kbd0",
114+    "keyboard": "kbd0/curve0/60_ansi",
115+    "keymap": "default",
116+    "layout": "LAYOUT_all",
117+    "layers": [
118+        [
119+          "KC_ESC",  "KC_1",    "KC_2",    "KC_3",    "KC_4",    "KC_5",    "KC_6",    "KC_7",    "KC_8",    "KC_9",    "KC_0",    "KC_MINS", "KC_EQL",  "KC_BSLS", "KC_BSPC",
120+          "KC_TAB",  "KC_Q",    "KC_W",    "KC_E",    "KC_R",    "KC_T",    "KC_Y",    "KC_U",    "KC_I",    "KC_O",    "KC_P",    "KC_LBRC", "KC_RBRC", "KC_BSLS",
121+          "KC_CAPS", "KC_A",    "KC_S",    "KC_D",    "KC_F",    "KC_G",    "KC_H",    "KC_J",    "KC_K",    "KC_L",    "KC_SCLN", "KC_QUOT",            "KC_ENT",
122+          "KC_LSFT", "KC_NUBS", "KC_Z",    "KC_X",    "KC_C",    "KC_V",    "KC_B",    "KC_N",    "KC_M",    "KC_COMM", "KC_DOT",  "KC_SLSH", "KC_RSFT", "MO(1)",
123+          "KC_LCTL", "KC_LGUI", "KC_LALT",                                  "KC_SPC",                                    "KC_RALT", "KC_RGUI", "KC_APP", "KC_RCTL"
124+        ],
125+        [
126+          "KC_GRV", "KC_F1",    "KC_F2",   "KC_F3",   "KC_F4",   "KC_F5",   "KC_F6",   "KC_F7",   "KC_F8",   "KC_F9",   "KC_F10",  "KC_F11",  "KC_F12",  "_______", "KC_DEL",
127+          "_______", "_______", "KC_UP",   "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
128+          "_______", "KC_LEFT", "KC_DOWN", "KC_RGHT", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",            "_______",
129+          "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
130+          "_______", "_______", "_______",                                  "_______",                                  "_______", "_______", "_______", "_______"
131+        ]
132+    ]
133+}
134diff --git a/keyboards/kbd0/curve0/60_ansi/readme.md b/keyboards/kbd0/curve0/60_ansi/readme.md
135new file mode 100644
136index 0000000000000000000000000000000000000000..f97ec67312938cfed74117c25203a77ac60d1885
137--- /dev/null
138+++ b/keyboards/kbd0/curve0/60_ansi/readme.md
139@@ -0,0 +1,27 @@
140+# kbd0/curve0/60_ansi
141+
142+![Curve0](https://i.imgur.com/y5ZIbWI.jpeg)
143+
144+Curve0 - Curved stainless steel keyboard by kbd0
145+
146+* Keyboard Maintainer: [kbd0](https://github.com/kbd0)
147+* Hardware Supported: Curve0 PCB
148+* Hardware Availability: [kbd0.com](https://kbd0.com/item/curve0)
149+
150+Make example for this keyboard (after setting up your build environment):
151+
152+    make kbd0/curve0/60_ansi:default
153+
154+Flashing example for this keyboard:
155+
156+    make kbd0/curve0/60_ansi:default:flash
157+