Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137,357 changes: 137,357 additions & 0 deletions hackpads/thejspad/CAD/TheJSPad.step

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions hackpads/thejspad/Firmware/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#define ENCODER_A_PINS { GP26 }
#define ENCODER_B_PINS { GP27 }
40 changes: 40 additions & 0 deletions hackpads/thejspad/Firmware/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"manufacturer": "Jake Schuler",
"keyboard_name": "thejspad",
"maintainer": "Jake-Schuler",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"direct": [
["NO_PIN", "GP3", "NO_PIN"],
["GP4", "GP27", "GP2"],
["NO_PIN", "GP1", "NO_PIN"]
]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x1A3F",
"vid": "0x6A73"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [2, 1], "x": 1, "y": 2}
]
}
}
}
32 changes: 32 additions & 0 deletions hackpads/thejspad/Firmware/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┬───┐
* │ 7 │ 8 │ 9 │ / │
* ├───┼───┼───┼───┤
* │ 4 │ 5 │ 6 │ * │
* ├───┼───┼───┼───┤
* │ 1 │ 2 │ 3 │ - │
* ├───┼───┼───┼───┤
* │ 0 │ . │Ent│ + │
* └───┴───┴───┴───┘
*/
[0] = LAYOUT(
KC_MEDIA_PLAY_PAUSE, // First key (0,1)
KC_MEDIA_PREV_TRACK, // Second key (1,0)
KC_NO, // Third key (1,1)
KC_MEDIA_NEXT_TRACK, // Fourth key (1,2)
KC_MEDIA_STOP // Fifth key (2,1) - Fill in if unused
)

};

const uint16_t PROGMEM encoder_map[][1][2] = {
[0] = {
ENCODER_CCW_CW(KC_VOLU, KC_VOLD)
}
};
2 changes: 2 additions & 0 deletions hackpads/thejspad/Firmware/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
ENCODER_MAP_ENABLE = yes
27 changes: 27 additions & 0 deletions hackpads/thejspad/Firmware/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# thejspad

![thejspad](imgur.com image replace me!)

*A short description of the keyboard/project*

* Keyboard Maintainer: [Jake Schuler](https://github.com/Jake-Schuler)
* Hardware Supported: *The PCBs, controllers supported*
* Hardware Availability: *Links to where you can find this hardware*

Make example for this keyboard (after setting up your build environment):

make thejspad:default

Flashing example for this keyboard:

make thejspad:default:flash

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).

## Bootloader

Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
3 changes: 3 additions & 0 deletions hackpads/thejspad/Firmware/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
LTO_ENABLE = yes
ENCODER_ENABLE = yes
ENCODER_MAP_ENABLE = yes
33 changes: 33 additions & 0 deletions hackpads/thejspad/Firmware/via.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "TheJSPad",
"vendorId": "6a736870",
"productId": "7064",
"matrix": {
"rows": 3,
"cols": 3
},
"lighting": "none",
"layouts": {
"keymap": [
[
{"x": 1
},
"0,1"
],
[
"1,0",
{"a": 7
},
"e0",
{"a": 4
},
"1,2"
],
[
{"x": 1
},
"2,1"
]
]
}
}
Loading