diff options
| author | tslil clingman <tslil@posteo.de> | 2024-07-26 21:45:11 +0200 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:24:48 +0100 |
| commit | 544ad5bbe68f962c3eed4df85965069acb007eff (patch) | |
| tree | 283f91c5f9e15e7e7b9ffcf62f078c6f5f19a78d | |
| parent | c8aed78911276bf90d1cf7655cb675ca6005069d (diff) | |
track qmk configs for fpkb_v3
| -rw-r--r-- | qmk_config_fpkb_v3/config.h | 41 | ||||
| -rw-r--r-- | qmk_config_fpkb_v3/fpkb.c | 16 | ||||
| -rw-r--r-- | qmk_config_fpkb_v3/fpkb.h | 36 | ||||
| -rw-r--r-- | qmk_config_fpkb_v3/info.json | 9 | ||||
| -rw-r--r-- | qmk_config_fpkb_v3/keymaps/vlom/keymap.c | 68 | ||||
| -rw-r--r-- | qmk_config_fpkb_v3/rules.mk | 25 |
6 files changed, 195 insertions, 0 deletions
diff --git a/qmk_config_fpkb_v3/config.h b/qmk_config_fpkb_v3/config.h new file mode 100644 index 0000000..60416ed --- /dev/null +++ b/qmk_config_fpkb_v3/config.h @@ -0,0 +1,41 @@ +/* Copyright 2022 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/>. + */ + +#pragma once + +#include "config_common.h" +#define MATRIX_ROWS 8 +#define MATRIX_COLS 5 + +// Bodge changes D1 to B6 + +#define DIRECT_PINS { \ + { B1, F7, F6, F5, F4 }, \ + { D2, D3, B6, B2, B3 }, \ + { D7, C6, D4, D0, B5 }, \ + { E6, B4, NO_PIN, NO_PIN, NO_PIN } \ + } + +#define DEBOUNCE 5 +#define USE_SERIAL +#define SOFT_SERIAL_PIN D1 + +#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 diff --git a/qmk_config_fpkb_v3/fpkb.c b/qmk_config_fpkb_v3/fpkb.c new file mode 100644 index 0000000..880ff93 --- /dev/null +++ b/qmk_config_fpkb_v3/fpkb.c @@ -0,0 +1,16 @@ +/* Copyright 2022 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.h" diff --git a/qmk_config_fpkb_v3/fpkb.h b/qmk_config_fpkb_v3/fpkb.h new file mode 100644 index 0000000..3e353c5 --- /dev/null +++ b/qmk_config_fpkb_v3/fpkb.h @@ -0,0 +1,36 @@ +/* Copyright 2022 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 +#define LAYOUT_split_3x5_2( \ + L01, L02, L03, L04, L05, R05, R04, R03, R02, R01, \ + L06, L07, L08, L09, L10, R10, R09, R08, R07, R06, \ + L11, L12, L13, L14, L15, R15, R14, R13, R12, R11, \ + L16, L17, R17, R16 \ + ) \ + { \ + { L01, L02, L03, L04, L05 }, \ + { L06, L07, L08, L09, L10 }, \ + { L11, L12, L13, L14, L15 }, \ + { L16, L17, ___, ___ , ___}, \ + { R01, R02, R03, R04, R05 }, \ + { R06, R07, R08, R09, R10 }, \ + { R11, R12, R13, R14, R15 }, \ + { R16, R17, ___, ___, ___ } \ + } + +#define LAYOUT LAYOUT_split_3x5_2 diff --git a/qmk_config_fpkb_v3/info.json b/qmk_config_fpkb_v3/info.json new file mode 100644 index 0000000..8313343 --- /dev/null +++ b/qmk_config_fpkb_v3/info.json @@ -0,0 +1,9 @@ +{ + "keyboard_name": "fpkb", + "manufacturer": "tslil", + "usb": { + "vid": "0xC2AB", + "pid": "0x3939", + "device_version": "0.0.2" + } +} diff --git a/qmk_config_fpkb_v3/keymaps/vlom/keymap.c b/qmk_config_fpkb_v3/keymaps/vlom/keymap.c new file mode 100644 index 0000000..b029fd8 --- /dev/null +++ b/qmk_config_fpkb_v3/keymaps/vlom/keymap.c @@ -0,0 +1,68 @@ +/* Copyright 2022 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{ + VLOM, + SYMB, + NUMB, + FUNC, +}; + +#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] = { + [VLOM] = LAYOUT_split_3x5_2( + KC_V, KC_L, KC_O, KC_M, KC_Q, KC_W, KC_F, KC_U, KC_H, KC_DOT, + g(S), a(R), c(A), s(T), KC_K, KC_Y, s(C), c(E), a(N), g(I), + KC_X, KC_J, KC_QUOT, KC_D, KC_Z, KC_G, KC_P, KC_SLSH, KC_B, KC_COMM, + 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, KC_LOCK, CAPSWRD, 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, CAPSWRD, KC_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_PGDOWN,KC_F12, KC_F1, KC_F2, KC_F3, KC_NO, + KC_NO, KC_TRNS, KC_TRNS, KC_NO + ) +}; diff --git a/qmk_config_fpkb_v3/rules.mk b/qmk_config_fpkb_v3/rules.mk new file mode 100644 index 0000000..0591383 --- /dev/null +++ b/qmk_config_fpkb_v3/rules.mk @@ -0,0 +1,25 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +SERIAL_DRIVER = bitbang + +# Build Options +# change yes to no to disable +# +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 +SPLIT_KEYBOARD = yes # Use shared split_common code +CAPS_WORD_ENABLE = yes + +LAYOUTS = split_3x5_2 |
