e31eeb85db481f977dbe7d6d2d9007a9faaeaf3e
- Author
- Akshay <32840608+axshae@users.noreply.github.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/keyboards/shorty/keyboard.json b/keyboards/shorty/keyboard.json
2new file mode 100644
3index 0000000000000000000000000000000000000000..158648badd4240746faaff2fd1376301053f5cc1
4--- /dev/null
5+++ b/keyboards/shorty/keyboard.json
6@@ -0,0 +1,48 @@
7+{
8+ "manufacturer": "Hawtkeys",
9+ "keyboard_name": "shorty",
10+ "maintainer": "hawtkeys",
11+ "bootloader": "rp2040",
12+ "diode_direction": "ROW2COL",
13+ "encoder": {
14+ "rotary": [
15+ {"pin_a": "GP28", "pin_b": "GP27"},
16+ {"pin_a": "GP3", "pin_b": "GP4"}
17+ ]
18+ },
19+ "features": {
20+ "bootmagic": true,
21+ "encoder": true,
22+ "extrakey": true,
23+ "mousekey": true,
24+ "nkro": true
25+ },
26+ "matrix_pins": {
27+ "cols": ["GP14", "GP13", "GP12"],
28+ "rows": ["GP11", "GP10", "GP9", "GP29", "GP2"]
29+ },
30+ "processor": "RP2040",
31+ "url": "",
32+ "usb": {
33+ "device_version": "1.0.0",
34+ "pid": "0x5400",
35+ "vid": "0x5453"
36+ },
37+ "layouts": {
38+ "LAYOUT": {
39+ "layout": [
40+ {"matrix": [3, 0], "x": 0, "y": 0},
41+ {"matrix": [4, 0], "x": 2, "y": 0},
42+ {"matrix": [0, 0], "x": 0, "y": 1},
43+ {"matrix": [0, 1], "x": 1, "y": 1},
44+ {"matrix": [0, 2], "x": 2, "y": 1},
45+ {"matrix": [1, 0], "x": 0, "y": 2},
46+ {"matrix": [1, 1], "x": 1, "y": 2},
47+ {"matrix": [1, 2], "x": 2, "y": 2},
48+ {"matrix": [2, 0], "x": 0, "y": 3},
49+ {"matrix": [2, 1], "x": 1, "y": 3},
50+ {"matrix": [2, 2], "x": 2, "y": 3}
51+ ]
52+ }
53+ }
54+}
55diff --git a/keyboards/shorty/keymaps/default/keymap.c b/keyboards/shorty/keymaps/default/keymap.c
56new file mode 100644
57index 0000000000000000000000000000000000000000..ef4bbba7ef012ddbae822cdb9e874cc0129fae1b
58--- /dev/null
59+++ b/keyboards/shorty/keymaps/default/keymap.c
60@@ -0,0 +1,18 @@
61+// Copyright 2023 QMK
62+// SPDX-License-Identifier: GPL-2.0-or-later
63+#include QMK_KEYBOARD_H
64+
65+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
66+ [0] = LAYOUT(
67+ KC_A, KC_D,
68+ KC_P7, KC_P8, KC_P9,
69+ KC_P4, KC_P5, KC_P6,
70+ KC_P1, KC_P2, KC_P3
71+ )
72+};
73+
74+#if defined(ENCODER_MAP_ENABLE)
75+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
76+ [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(MS_WHLD, MS_WHLU) }
77+};
78+#endif
79diff --git a/keyboards/shorty/readme.md b/keyboards/shorty/readme.md
80new file mode 100644
81index 0000000000000000000000000000000000000000..23f023b92ced5e4d22d60e0f081f2f38e7d3ab83
82--- /dev/null
83+++ b/keyboards/shorty/readme.md
84@@ -0,0 +1,27 @@
85+# Shorty Zero
86+
87+
88+
89+The Shorty Zero is a 3x3 customizable macropad designed for productivity, gaming, and creative workflows, featuring programmable keys and rotary knobs.
90+
91+* Keyboard Maintainer: [Hawtkeys](https://github.com/hawtkeys)
92+* Hardware Supported: Raspberry Pi Pico, Hawtkeys Shorty Zero PCB
93+* Hardware Availability: [Available @ hawtkeys.com](https://hawtkeys.com)
94+
95+Make example for this keyboard (after setting up your build environment):
96+
97+ make shorty:default
98+
99+Flashing example for this keyboard:
100+
101+ make shorty:default:flash
102+