276f84a9a804ce4980f81dc2527c32d00575628f

Author
chalex <68408520+gaclee3b@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

add chlx piche (#24252)

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: chalex <alejandrelee+magbogbro@gmail.com>

Diff

This diff is truncated to protect this page.

  1diff --git a/keyboards/chlx/piche60/keyboard.json b/keyboards/chlx/piche60/keyboard.json
  2new file mode 100644
  3index 0000000000000000000000000000000000000000..7eafe4f84fa2772ecd2ae76285689746c5a04e51
  4--- /dev/null
  5+++ b/keyboards/chlx/piche60/keyboard.json
  6@@ -0,0 +1,128 @@
  7+{
  8+    "manufacturer": "chlx bsmt",
  9+    "keyboard_name": "piche60",
 10+    "maintainer": "gaclee4b",
 11+    "bootloader": "atmel-dfu",
 12+    "bootmagic": {
 13+        "matrix": [1, 1]
 14+    },
 15+    "diode_direction": "COL2ROW",
 16+    "features": {
 17+        "bootmagic": true,
 18+        "command": false,
 19+        "console": false,
 20+        "extrakey": true,
 21+        "mousekey": true,
 22+        "nkro": true
 23+    },
 24+    "qmk": {
 25+        "locking": {
 26+            "enabled": true,
 27+            "resync": true
 28+        }
 29+    },
 30+    "indicators": {
 31+        "caps_lock": "C7",
 32+        "compose": "B5",
 33+        "num_lock": "B6",
 34+        "scroll_lock": "C6",
 35+        "on_state": 0
 36+    },
 37+    "matrix_pins": {
 38+        "cols": ["D0", "F5", "F7", "E6", "F0", "D4", "D5", "D7", "D3", "D2", "D1", "B7", "B3", "B2", "B1", "B0"],
 39+        "rows": ["F4", "F1", "F6", "D6", "B4"]
 40+    },
 41+    "processor": "atmega32u4",
 42+    "url": "www.github.com/gaclee3b",
 43+    "usb": {
 44+      "device_version": "1.1.0",
 45+      "pid": "0x0611",
 46+      "vid": "0x4358"
 47+    },
 48+    "layouts": {
 49+        "LAYOUT": {
 50+            "layout": [
 51+                {"matrix": [1, 1], "x": 0.5, "y": 0},
 52+
 53+                {"matrix": [0, 1], "x": 1.75, "y": 0.25},
 54+                {"matrix": [0, 2], "x": 2.75, "y": 0.25},
 55+                {"matrix": [0, 3], "x": 3.75, "y": 0},
 56+                {"matrix": [0, 4], "x": 4.75, "y": 0.25},
 57+                {"matrix": [0, 5], "x": 5.75, "y": 0.25},
 58+                {"matrix": [0, 6], "x": 6.75, "y": 0.25},
 59+                {"matrix": [0, 7], "x": 7.75, "y": 0.25},
 60+
 61+                {"matrix": [0, 8], "x": 11, "y": 0.25},
 62+                {"matrix": [0, 9], "x": 12, "y": 0.25},
 63+                {"matrix": [0, 10], "x": 13, "y": 0.25},
 64+                {"matrix": [0, 11], "x": 14, "y": 0.25},
 65+                {"matrix": [0, 12], "x": 15, "y": 0},
 66+                {"matrix": [0, 13], "x": 16, "y": 0.25},
 67+                {"matrix": [0, 14], "x": 17, "y": 0.25},
 68+                {"matrix": [0, 15], "x": 18, "y": 0.25},
 69+
 70+                {"matrix": [2, 1], "x": 0.25, "y": 1},
 71+
 72+                {"matrix": [1, 2], "x": 1.5, "y": 1.25, "w": 1.5},
 73+                {"matrix": [1, 3], "x": 3, "y": 1.25},
 74+                {"matrix": [1, 4], "x": 4.25, "y": 1.25},
 75+                {"matrix": [1, 5], "x": 5.25, "y": 1.25},
 76+                {"matrix": [1, 6], "x": 6.25, "y": 1.25},
 77+                {"matrix": [1, 7], "x": 7.25, "y": 1.25},
 78+
 79+                {"matrix": [1, 8], "x": 10.5, "y": 1.25},
 80+                {"matrix": [1, 9], "x": 11.5, "y": 1.25},
 81+                {"matrix": [1, 10], "x": 12.5, "y": 1.25},
 82+                {"matrix": [1, 11], "x": 13.5, "y": 1.25},
 83+                {"matrix": [1, 12], "x": 14.75, "y": 1.25},
 84+                {"matrix": [1, 13], "x": 15.75, "y": 1.25},
 85+                {"matrix": [1, 14], "x": 16.75, "y": 1.25},
 86+                {"matrix": [1, 15], "x": 17.75, "y": 1.25, "w": 1.5},
 87+
 88+                {"matrix": [3, 1], "x": 0, "y": 2},
 89+
 90+                {"matrix": [2, 2], "x": 1.5, "y": 2.25, "w": 1.75},
 91+                {"matrix": [2, 3], "x": 3.25, "y": 2.25},
 92+                {"matrix": [2, 4], "x": 4.5, "y": 2.25},
 93+                {"matrix": [2, 5], "x": 5.5, "y": 2.25},
 94+                {"matrix": [2, 6], "x": 6.5, "y": 2.25},
 95+                {"matrix": [2, 7], "x": 7.5, "y": 2.25},
 96+
 97+                {"matrix": [2, 8], "x": 10.75, "y": 2.25},
 98+                {"matrix": [2, 9], "x": 11.75, "y": 2.25},
 99+                {"matrix": [2, 10], "x": 12.75, "y": 2.25},
100+                {"matrix": [2, 11], "x": 13.75, "y": 2.25},
101+                {"matrix": [2, 12], "x": 15.25, "y": 2.25},
102+                {"matrix": [2, 13], "x": 16.25, "y": 2.25},
103+                {"matrix": [2, 14], "x": 17.25, "y": 2.25, "w": 2.25},
104+
105+                {"matrix": [3, 2], "x": 1.5, "y": 3.25, "w": 2.25},
106diff --git a/keyboards/chlx/piche60/keymaps/default/keymap.c b/keyboards/chlx/piche60/keymaps/default/keymap.c
107new file mode 100644
108index 0000000000000000000000000000000000000000..dfd3426a9025b6c23b49d3db029e2501c11e26d6
109--- /dev/null
110+++ b/keyboards/chlx/piche60/keymaps/default/keymap.c
111@@ -0,0 +1,34 @@
112+/*
113+Copyright 2024 Alexander Lee <chlx.bsmt@gmail.com>
114+
115+This program is free software: you can redistribute it and/or modify
116+it under the terms of the GNU General Public License as published by
117+the Free Software Foundation, either version 2 of the License, or
118+(at your option) any later version.
119+
120+This program is distributed in the hope that it will be useful,
121+but WITHOUT ANY WARRANTY; without even the implied warranty of
122+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
123+GNU General Public License for more details.
124+
125+You should have received a copy of the GNU General Public License
126+along with this program.  If not, see <http://www.gnu.org/licenses/>.
127+*/
128+
129+#include QMK_KEYBOARD_H
130+
131+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
132+
133+  [0] = LAYOUT(
134+    KC_ESC,     KC_GRV,  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_DEL,  KC_BSPC,
135+    KC_PGUP,    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,
136+    KC_PGDN,  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,
137+        KC_LSFT, KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,             KC_B,    KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_RSFT, MO(1),
138+        KC_LCTL, KC_LGUI, KC_LALT, KC_SPC,  KC_LGUI,                            KC_SPC,           KC_RALT, KC_RGUI, KC_APP, KC_RCTL),
139+  [1] = LAYOUT(
140+    KC_TRNS,    KC_TRNS, 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_TRNS, KC_DEL,
141+    KC_TRNS,    KC_TRNS, KC_TRNS, KC_HOME, KC_UP,   KC_PGUP, KC_TRNS,          KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP,   KC_TRNS, KC_TRNS,
142+    KC_TRNS,  KC_TRNS, KC_END,  KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN,          KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT,          KC_TRNS,
143+        KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPLY, KC_TRNS,          KC_TRNS, KC_TRNS, KC_TRNS, KC_END,  KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS,
144+        KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,                            KC_TRNS,          KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
145+};
146diff --git a/keyboards/chlx/piche60/readme.md b/keyboards/chlx/piche60/readme.md
147new file mode 100644
148index 0000000000000000000000000000000000000000..de659b0ff7caaaa09ff4c914ee3f54ee79170565
149--- /dev/null
150+++ b/keyboards/chlx/piche60/readme.md
151@@ -0,0 +1,31 @@
152+# piche60
153+
154+![piche60 PCB](https://i.imgur.com/CBeJSUy.jpeg)
155+
156+- 60% alice format keyboard pcb with USB-C and unified daughterboard compatibility.
157+- Layout adds 3 additional keys in the palm area voids of traditional alice format.
158+- USB-C can be snapped off and converted into an ai03 C3 compatible daughterboard.
159+- Left and right halves can be snapped off and connected through 14-pin JST-SH interfaces.
160+- PCB can be manufactured with top-side USB-C for compatibility with legacy alice PCBs. 
161+
162+Keyboard Maintainer: [Alexander Lee](https://github.com/gaclee3b)
163+Hardware Supported: chlx PCB piche60.x.x.x; top-side USB version compatible with most keyboard cases using legacy alice format PCBs (i.e. lubrigante)
164+Hardware Availability: sales are typically done in-stock as bulk listings on reddit's mechanical keyboard market (r/mechmarket)
165+
166+Make example for this keyboard (after setting up your build environment):
167+
168+    make chlx/piche60:default
169+
170+Flashing example for this keyboard:
171+
172+    make chlx/piche60:default:flash
173+