summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2022-08-28 15:40:10 -0500
committerGitHub <noreply@github.com>2022-08-28 21:40:10 +0100
commit3c3f55c0e9d4023dbee1f3dd6495ee2549237e33 (patch)
tree12f1cc5932db7776b3c552b8afbd6aa31cf1912d /keyboards
parent0633e71a1824abe8ed118ce33bbffc6b52e03532 (diff)
Add an ez_maker directpins for rp2040 (#17908)
* Add an ez_maker directpins for rp2040 This allows all exposed pins on the Raspberry Pi Pico to be used as up to 26 individual keys. Keys use a common ground arrangement. The firmware is also expected to work on generic RP2040 boards, check manufacturer pinout diagrams or use trial and error to find out the GP#s of the pins. * Update keyboards/ez_maker/directpins/rp2040/info.json Co-authored-by: Joel Challis <git@zvecr.com> * Changes based on review comments Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/ez_maker/directpins/rp2040/info.json64
-rw-r--r--keyboards/ez_maker/directpins/rp2040/keymaps/default/keymap.json25
-rw-r--r--keyboards/ez_maker/directpins/rp2040/readme.md19
-rw-r--r--keyboards/ez_maker/directpins/rp2040/rules.mk1
4 files changed, 109 insertions, 0 deletions
diff --git a/keyboards/ez_maker/directpins/rp2040/info.json b/keyboards/ez_maker/directpins/rp2040/info.json
new file mode 100644
index 0000000000..9b707d257f
--- /dev/null
+++ b/keyboards/ez_maker/directpins/rp2040/info.json
@@ -0,0 +1,64 @@
+{
+ "manufacturer": "Raspberry Pi",
+ "keyboard_name": "DirectPins RP2040",
+ "maintainer": "jepler",
+ "bootloader": "rp2040",
+ "debounce": 5,
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true
+ },
+ "matrix_pins": {
+ "direct": [
+ ["GP0", null],
+ ["GP1", null],
+
+ ["GP2", null],
+ ["GP3", null],
+ ["GP4", null],
+ ["GP5", "GP28"],
+
+ ["GP6", "GP27"],
+ ["GP7", "GP26"],
+ ["GP8", null],
+ ["GP9", "GP22"],
+
+ ["GP10", "GP21"],
+ ["GP11", "GP20"],
+ ["GP12", "GP19"],
+ ["GP13", "GP18"],
+
+ ["GP14", "GP17"],
+ ["GP15", "GP16"]
+ ]
+ },
+ "processor": "RP2040",
+ "usb": {
+ "device_version": "0.0.1",
+ "pid": "0x2326",
+ "vid": "0xFEED"
+ },
+ "layouts": {
+ "LAYOUT_all": {
+ "layout": [
+ {"label":"GP0", "matrix": [0, 0], "x":0, "y":0},
+ {"label":"GP1", "matrix": [1, 0], "x":0, "y":1},
+ {"label":"GP2", "matrix": [2, 0], "x":0, "y":3},
+ {"label":"GP3", "matrix": [3, 0], "x":0, "y":4},
+ {"label":"GP4", "matrix": [4, 0], "x":0, "y":5},
+ {"label":"GP5", "matrix": [5, 0], "x":0, "y":6}, {"label":"GP28", "matrix": [5, 1], "x":2, "y":6},
+ {"label":"GP6", "matrix": [6, 0], "x":0, "y":8}, {"label":"GP27", "matrix": [6, 1], "x":2, "y":8},
+ {"label":"GP7", "matrix": [7, 0], "x":0, "y":9}, {"label":"GP26", "matrix": [7, 1], "x":2, "y":9},
+ {"label":"GP8", "matrix": [8, 0], "x":0, "y":10},
+ {"label":"GP9", "matrix": [9, 0], "x":0, "y":11}, {"label":"GP22", "matrix": [9, 1], "x":2, "y":11},
+ {"label":"GP10", "matrix": [10, 0], "x":0, "y":13}, {"label":"GP21", "matrix": [10, 1], "x":2, "y":13},
+ {"label":"GP11", "matrix": [11, 0], "x":0, "y":14}, {"label":"GP20", "matrix": [11, 1], "x":2, "y":14},
+ {"label":"GP12", "matrix": [12, 0], "x":0, "y":15}, {"label":"GP19", "matrix": [12, 1], "x":2, "y":15},
+ {"label":"GP13", "matrix": [13, 0], "x":0, "y":16}, {"label":"GP18", "matrix": [13, 1], "x":2, "y":16},
+ {"label":"GP14", "matrix": [14, 0], "x":0, "y":18}, {"label":"GP17", "matrix": [14, 1], "x":2, "y":18},
+ {"label":"GP15", "matrix": [15, 0], "x":0, "y":19}, {"label":"GP16", "matrix": [15, 1], "x":2, "y":19}
+ ]
+ }
+ }
+}
diff --git a/keyboards/ez_maker/directpins/rp2040/keymaps/default/keymap.json b/keyboards/ez_maker/directpins/rp2040/keymaps/default/keymap.json
new file mode 100644
index 0000000000..3bae28a360
--- /dev/null
+++ b/keyboards/ez_maker/directpins/rp2040/keymaps/default/keymap.json
@@ -0,0 +1,25 @@
+{
+ "keyboard": "ez_maker/directpins/rp2040",
+ "keymap": "default",
+ "layout": "LAYOUT_all",
+ "layers": [
+ [
+ "KC_0",
+ "KC_1",
+ "KC_2",
+ "KC_3",
+ "KC_4",
+ "KC_5", "KC_P",
+ "KC_6", "KC_O",
+ "KC_7", "KC_N",
+ "KC_8",
+ "KC_9", "KC_M",
+ "KC_A", "KC_L",
+ "KC_B", "KC_K",
+ "KC_C", "KC_J",
+ "KC_D", "KC_I",
+ "KC_E", "KC_H",
+ "KC_F", "KC_G"
+ ]
+ ]
+}
diff --git a/keyboards/ez_maker/directpins/rp2040/readme.md b/keyboards/ez_maker/directpins/rp2040/readme.md
new file mode 100644
index 0000000000..945ee88c9b
--- /dev/null
+++ b/keyboards/ez_maker/directpins/rp2040/readme.md
@@ -0,0 +1,19 @@
+# DirectPins
+
+![Raspberry Pi Pico pinout guide](https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython/pinouts)
+
+Easily assign keys to pins for your custom project using QMK Configurator.
+
+* Keyboard Maintainer: [Jeff Epler](https://github.com/jepler)
+* Hardware Supported: Raspberry Pi Pico, other RP2040 boards
+* Hardware Availability: Raspberry Pi, SparkFun, Adafruit, other makers
+
+Make example for this keyboard (after setting up your build environment):
+
+ qmk compile -kb ez_maker/directpins/rp2040 -km default
+
+Flashing example for this keyboard:
+
+ qmk flash -kb ez_maker/directpins/rp2040 -km default
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/ez_maker/directpins/rp2040/rules.mk b/keyboards/ez_maker/directpins/rp2040/rules.mk
new file mode 100644
index 0000000000..6e7633bfe0
--- /dev/null
+++ b/keyboards/ez_maker/directpins/rp2040/rules.mk
@@ -0,0 +1 @@
+# This file intentionally left blank