diff options
Diffstat (limited to 'qmk_config_fpkb_v5')
| -rw-r--r-- | qmk_config_fpkb_v5/config.h | 24 | ||||
| -rw-r--r-- | qmk_config_fpkb_v5/fpkb_v5.c | 16 | ||||
| -rw-r--r-- | qmk_config_fpkb_v5/fpkb_v5.h | 18 | ||||
| -rw-r--r-- | qmk_config_fpkb_v5/info.json | 56 | ||||
| -rw-r--r-- | qmk_config_fpkb_v5/keyboard.json | 0 | ||||
| -rw-r--r-- | qmk_config_fpkb_v5/keymaps/gallium/keymap.c | 86 | ||||
| -rw-r--r-- | qmk_config_fpkb_v5/mcuconf.h | 3 | ||||
| -rw-r--r-- | qmk_config_fpkb_v5/rules.mk | 17 |
8 files changed, 220 insertions, 0 deletions
diff --git a/qmk_config_fpkb_v5/config.h b/qmk_config_fpkb_v5/config.h new file mode 100644 index 0000000..e6055c3 --- /dev/null +++ b/qmk_config_fpkb_v5/config.h @@ -0,0 +1,24 @@ +#pragma once + +#define MATRIX_ROWS 8 +#define MATRIX_COLS 5 + +#define DIRECT_PINS { \ + { GP4, GP3, GP2, GP1, GP0 }, \ + { GP5, GP6, GP7, GP8, GP9 }, \ + { GP28, GP27, GP26, GP22, GP20 }, \ + { GP23, GP21, NO_PIN, NO_PIN, NO_PIN } \ + } + +#define DEBOUNCE 5 + +#define EE_HANDS +#define BOOTMAGIC_LITE_ROW 0 +#define BOOTMAGIC_LITE_COLUMN 0 + +#define BOOTMAGIC_LITE_ROW_RIGHT 4 +#define BOOTMAGIC_LITE_COLUMN_RIGHT 0 + +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET +// #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17 +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U diff --git a/qmk_config_fpkb_v5/fpkb_v5.c b/qmk_config_fpkb_v5/fpkb_v5.c new file mode 100644 index 0000000..8040ebd --- /dev/null +++ b/qmk_config_fpkb_v5/fpkb_v5.c @@ -0,0 +1,16 @@ +/* Copyright 2026 tslil clingman <tslil [email separator] posteo [tld separator] de> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#include "fpkb_v5.h" diff --git a/qmk_config_fpkb_v5/fpkb_v5.h b/qmk_config_fpkb_v5/fpkb_v5.h new file mode 100644 index 0000000..862753e --- /dev/null +++ b/qmk_config_fpkb_v5/fpkb_v5.h @@ -0,0 +1,18 @@ +/* Copyright 2026 tslil clingman <tslil [email separator] posteo [tld separator] de> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "quantum.h" +#define ___ KC_NO diff --git a/qmk_config_fpkb_v5/info.json b/qmk_config_fpkb_v5/info.json new file mode 100644 index 0000000..8209a25 --- /dev/null +++ b/qmk_config_fpkb_v5/info.json @@ -0,0 +1,56 @@ +{ + "keyboard_name": "fpkb_v5", + "manufacturer": "tslil", + "bootloader": "rp2040", + "processor": "RP2040", + "board": "QMK_PM2040", + "split": { + "enabled": true, + "soft_serial_pin": "GP29" + }, + "usb": { + "vid": "0xC2AC", + "pid": "0x3939", + "device_version": "0.0.2" + }, + "layouts": { + "LAYOUT_split_3x5_2": { + "layout": [ + {"label": "L01", "matrix": [0, 0], "x": 5, "y": 0}, + {"label": "L02", "matrix": [0, 1], "x": 4, "y": 0.1}, + {"label": "L03", "matrix": [0, 2], "x": 3, "y": 0}, + {"label": "L04", "matrix": [0, 3], "x": 2, "y": 0.1}, + {"label": "L05", "matrix": [0, 4], "x": 1, "y": 0.3}, + {"label": "R01", "matrix": [4, 4], "x": 0, "y": 3.3}, + {"label": "R02", "matrix": [4, 3], "x": 1, "y": 3.3}, + {"label": "R03", "matrix": [4, 2], "x": 2, "y": 3.2}, + {"label": "R04", "matrix": [4, 1], "x": 3, "y": 3.3}, + {"label": "R05", "matrix": [4, 0], "x": 4, "y": 3.1}, + {"label": "L06", "matrix": [1, 0], "x": 5, "y": 1}, + {"label": "L07", "matrix": [1, 1], "x": 4, "y": 1.2}, + {"label": "L08", "matrix": [1, 2], "x": 3, "y": 1.1}, + {"label": "L09", "matrix": [1, 3], "x": 2, "y": 1}, + {"label": "L10", "matrix": [1, 4], "x": 1, "y": 1.1}, + {"label": "R06", "matrix": [5, 4], "x": 0, "y": 4.3}, + {"label": "R07", "matrix": [5, 3], "x": 1, "y": 4.3}, + {"label": "R08", "matrix": [5, 2], "x": 2, "y": 4.2}, + {"label": "R09", "matrix": [5, 1], "x": 3, "y": 4.3}, + {"label": "R10", "matrix": [5, 0], "x": 4, "y": 4.1}, + {"label": "L11", "matrix": [2, 0], "x": 5, "y": 2}, + {"label": "L12", "matrix": [2, 1], "x": 4, "y": 2.2}, + {"label": "L13", "matrix": [2, 2], "x": 3, "y": 2.1}, + {"label": "L14", "matrix": [2, 3], "x": 2, "y": 2}, + {"label": "L15", "matrix": [2, 4], "x": 1, "y": 2.1}, + {"label": "R11", "matrix": [6, 4], "x": 0, "y": 5.3}, + {"label": "R12", "matrix": [6, 3], "x": 1, "y": 5.3}, + {"label": "R13", "matrix": [6, 2], "x": 2, "y": 5.2}, + {"label": "R14", "matrix": [6, 1], "x": 3, "y": 5.3}, + {"label": "R15", "matrix": [6, 0], "x": 4, "y": 5.1}, + {"label": "L16", "matrix": [3, 0], "x": 5, "y": 3}, + {"label": "L17", "matrix": [3, 1], "x": 4, "y": 3.2}, + {"label": "R16", "matrix": [7, 1], "x": 2, "y": 6.3}, + {"label": "R17", "matrix": [7, 0], "x": 1, "y": 6.3} + ] + } + } +} diff --git a/qmk_config_fpkb_v5/keyboard.json b/qmk_config_fpkb_v5/keyboard.json new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/qmk_config_fpkb_v5/keyboard.json diff --git a/qmk_config_fpkb_v5/keymaps/gallium/keymap.c b/qmk_config_fpkb_v5/keymaps/gallium/keymap.c new file mode 100644 index 0000000..0a4b6d6 --- /dev/null +++ b/qmk_config_fpkb_v5/keymaps/gallium/keymap.c @@ -0,0 +1,86 @@ +/* Copyright 2026 tslil clingman <tslil [email separator] posteo [tld separator] de> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include QMK_KEYBOARD_H + +enum layers{ + GALLIUM, + SYMB, + NUMB, + FUNC, + MOUS, + GAME +}; + +#undef TAPPING_TERM +#define TAPPING_TERM 240 +#define RETRO_TAP +#define IGNORE_MOD_TAP_INTERRUPT +#define TAPPING_FORCE_HOLD + +#undef CAPS_WORD_IDLE_TIMEOUT +#define CAPS_WORD_IDLE_TIMEOUT 2000 + +#define a(K) (LALT_T(KC_ ## K)) +#define c(K) (LCTL_T(KC_ ## K)) +#define g(K) (LGUI_T(KC_ ## K)) +#define s(K) (LSFT_T(KC_ ## K)) + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [GALLIUM] = LAYOUT_split_3x5_2( + KC_B, KC_L, KC_D, KC_C, KC_V, KC_J, KC_F, KC_O, KC_U, KC_COMM, + g(N), a(R), c(T), s(S), KC_G, KC_Y, s(H), c(A), a(E), g(I), + KC_X, KC_Q, KC_M, KC_W, KC_Z, KC_K, KC_P, KC_QUOT, KC_SLSH, KC_DOT, + LT(MOUS, KC_TAB), LT(NUMB, KC_BSPC), LT(SYMB, KC_SPC), KC_ENTER + ), + + [SYMB] = LAYOUT_split_3x5_2( + KC_EXLM, KC_AT, KC_HASH, S(KC_LBRC), S(KC_RBRC), KC_HOME, S(KC_GRAVE), KC_UNDS, KC_GRAVE, S(KC_SCLN), + KC_EQL, KC_CIRC, KC_DLR, KC_LPRN, KC_RPRN, KC_END, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, + KC_AMPR, KC_PERC, KC_PIPE, KC_LBRC, KC_RBRC, QK_LOCK, CW_TOGG, KC_ESC, S(KC_INS), KC_SCLN, + KC_NO, MO(FUNC), KC_NO, KC_NO + ), + + [NUMB] = LAYOUT_split_3x5_2( + KC_BSLS, KC_GRAVE, KC_UNDS, S(KC_GRAVE), KC_HOME, KC_NO, KC_7, KC_8, KC_9, KC_PLUS, + KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_END, KC_0, KC_4, KC_5, KC_6, KC_MINS, + KC_NO, S(KC_INS), KC_ESC, CW_TOGG, QK_LOCK, KC_DOT, KC_1, KC_2, KC_3, KC_ASTR, + KC_NO, KC_NO, MO(FUNC), KC_NO + ), + + [FUNC] = LAYOUT_split_3x5_2( + KC_VOLU, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_F10, KC_F7, KC_F8, KC_F9, KC_NO, + KC_MUTE, KC_LEFT, KC_DOWN, KC_RIGHT,KC_NO, KC_F11, KC_F4, KC_F5, KC_F6, KC_NO, + KC_VOLD, KC_MPRV, KC_MNXT, KC_MPLY, KC_PGDN, KC_F12, KC_F1, KC_F2, KC_F3, KC_NO, + KC_NO, KC_TRNS, KC_TRNS, KC_NO + ), + + [MOUS] = LAYOUT_split_3x5_2( + KC_NO, KC_NO, KC_NO, MS_WHLU, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, MS_BTN3, MS_BTN2, MS_BTN1, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, MS_WHLD, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_TRNS, KC_NO, TO(GAME) + ), + + [GAME] = LAYOUT_split_3x5_2( + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_LALT, KC_SPC, TO(GALLIUM), KC_NO + ) + +}; diff --git a/qmk_config_fpkb_v5/mcuconf.h b/qmk_config_fpkb_v5/mcuconf.h new file mode 100644 index 0000000..ed18e34 --- /dev/null +++ b/qmk_config_fpkb_v5/mcuconf.h @@ -0,0 +1,3 @@ +#pragma once + +#include_next <mcuconf.h> diff --git a/qmk_config_fpkb_v5/rules.mk b/qmk_config_fpkb_v5/rules.mk new file mode 100644 index 0000000..1f9a8fc --- /dev/null +++ b/qmk_config_fpkb_v5/rules.mk @@ -0,0 +1,17 @@ +SERIAL_DRIVER = vendor # Use PIO for serial +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +NKRO_ENABLE = yes # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +UNICODE_ENABLE = no # Unicode +AUDIO_ENABLE = no # Audio output +KEY_LOCK_ENABLE = yes +CAPS_WORD_ENABLE = yes + +PICO_INTRINSICS_ENABLED = no # ATM Unsupported by ChibiOS. + +LAYOUTS = split_3x5_2 |
