Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f9a9d9d
Create readme.MD
PythonAtSea Oct 19, 2024
02d0c5e
Create s
PythonAtSea Oct 19, 2024
be2feb3
Add files via upload
PythonAtSea Oct 19, 2024
4928eb5
Update and rename hackpads/ftcpad/CAD/Part Studio 1 - Part 249.dxf to…
PythonAtSea Oct 19, 2024
d555e4a
Update and rename hackpads/ftcpad/topplate.dxf to hackpads/ftcpad/CAD…
PythonAtSea Oct 19, 2024
8ba7e6d
Delete hackpads/ftcpad/CAD/s
PythonAtSea Oct 19, 2024
be573bb
Add files via upload
PythonAtSea Oct 19, 2024
e7a7822
Create s
PythonAtSea Oct 20, 2024
f813857
Add files via upload
PythonAtSea Oct 20, 2024
1f83f6a
Add files via upload
PythonAtSea Oct 20, 2024
2fa573c
Add files via upload
PythonAtSea Oct 20, 2024
9ac7ddd
Create s
PythonAtSea Oct 20, 2024
3142bb4
Add files via upload
PythonAtSea Oct 20, 2024
4327463
Delete hackpads/ftcpad/production/s
PythonAtSea Oct 20, 2024
ada44bb
Delete hackpads/ftcpad/pcb/s
PythonAtSea Oct 20, 2024
c27685e
Rename ftcpad.step to ftcpad.step
PythonAtSea Oct 20, 2024
6fe4186
Update and rename ftcpad.step to ftcpad.step
PythonAtSea Oct 20, 2024
e164058
Update and rename ftcpad.step to ftcpad.step
PythonAtSea Oct 20, 2024
aa90cea
Update and rename ftcpad.step to ftcpad.step
PythonAtSea Oct 20, 2024
97a2341
Rename Bottom case.stl to Bottom case.stl
PythonAtSea Oct 20, 2024
1696f63
Update and rename topplate.dxf to topplate.dxf
PythonAtSea Oct 20, 2024
9c855e0
Create s
PythonAtSea Oct 20, 2024
63829bb
Add files via upload
PythonAtSea Oct 20, 2024
baaf2e3
Update readme.MD
PythonAtSea Oct 20, 2024
8c12013
Update readme.MD
PythonAtSea Oct 20, 2024
6e7c1ee
Create readme.MD
PythonAtSea Oct 20, 2024
fbcbb56
Update readme.MD
PythonAtSea Oct 20, 2024
f631f96
Delete hackpads/ftcpad/firmware/s
PythonAtSea Oct 21, 2024
d384b96
Update readme.MD
PythonAtSea Oct 21, 2024
65183c5
Update readme.MD
PythonAtSea Oct 23, 2024
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
1 change: 1 addition & 0 deletions hackpads/ftcpad/CAD/ftcpad.step
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 6 additions & 0 deletions hackpads/ftcpad/firmware/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#define ENCODER_A_PINS { GP2 }
#define ENCODER_B_PINS { GP1 }

#define I2C_DRIVER I2CD1
#define I2C1_SDA_PIN GP6
#define I2C1_SCL_PIN GP7
38 changes: 38 additions & 0 deletions hackpads/ftcpad/firmware/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"manufacturer": "PCBAlex",
"keyboard_name": "ftcpad",
"maintainer": "PythonAtSea",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["GP28", "GP29", "GP4"],
"rows": ["GP27", "GP26"]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT_ortho_2x3": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1}
]
}
}
}
35 changes: 35 additions & 0 deletions hackpads/ftcpad/firmware/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┐
* │STB│U P│TAB│
* ├───┼───┼───┤
* │LFT│DWN│RGT│
* └───┴───┴───┘
*/
[0] = LAYOUT_ortho_2x3(
LSFT(KC_TAB), KC_UP, KC_TAB,
KC_LEFT, KC_DOWN, KC_RIGHT
)
};

#ifdef OLED_ENABLE
bool oled_task_user(void) {

led_t led_state = host_keyboard_led_state();
oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false);
oled_write_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false);
oled_write_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false);

return false;
}
#endif
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_PAGE_UP, KC_PAGE_DOWN)},
};
#endif
27 changes: 27 additions & 0 deletions hackpads/ftcpad/firmware/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# ftcpad

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

*A short description of the keyboard/project*

* Keyboard Maintainer: [PythonAtSea](https://github.com/PythonAtSea)
* 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 ftcpad:default

Flashing example for this keyboard:

make ftcpad: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
7 changes: 7 additions & 0 deletions hackpads/ftcpad/firmware/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
OLED_ENABLE = yes
OLED_TRANSPORT = i2c
OLED_DRIVER = ssd1306
ENCODER_ENABLE = yes
ENCODER_MAP_ENABLE = yes
# required for rp2040
LTO_ENABLE = yes
Loading