diff options
| author | tslil <tslil@posteo.de> | 2026-03-22 16:02:55 +0000 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:24:48 +0100 |
| commit | e918a85ad8e36bfd50c5f412c90248f118f024bb (patch) | |
| tree | d18f3716d8deba35ecddd3545088a368432875c3 /qmk_config_fpkb_v4 | |
| parent | 78a256f03f9f1055172c7cc095361e300505b3fc (diff) | |
v4: modernise the qmk configs
Diffstat (limited to 'qmk_config_fpkb_v4')
| -rw-r--r-- | qmk_config_fpkb_v4/fpkb_v4.c | 15 | ||||
| -rw-r--r-- | qmk_config_fpkb_v4/fpkb_v4.h | 34 | ||||
| -rw-r--r-- | qmk_config_fpkb_v4/info.json | 40 | ||||
| -rw-r--r-- | qmk_config_fpkb_v4/keyboard.json | 0 | ||||
| -rw-r--r-- | qmk_config_fpkb_v4/keymaps/gallium/keymap.c | 86 | ||||
| -rw-r--r-- | qmk_config_fpkb_v4/keymaps/pinev4/keymap.c | 76 | ||||
| -rw-r--r-- | qmk_config_fpkb_v4/keymaps/vlom/keymap.c | 16 |
7 files changed, 249 insertions, 18 deletions
diff --git a/qmk_config_fpkb_v4/fpkb_v4.c b/qmk_config_fpkb_v4/fpkb_v4.c index 2ed3099..20c3ccf 100644 --- a/qmk_config_fpkb_v4/fpkb_v4.c +++ b/qmk_config_fpkb_v4/fpkb_v4.c @@ -1 +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_v4.h" diff --git a/qmk_config_fpkb_v4/fpkb_v4.h b/qmk_config_fpkb_v4/fpkb_v4.h index 75c49a5..d0b083d 100644 --- a/qmk_config_fpkb_v4/fpkb_v4.h +++ b/qmk_config_fpkb_v4/fpkb_v4.h @@ -1,20 +1,18 @@ +/* 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_v4/info.json b/qmk_config_fpkb_v4/info.json index 1b7a7b4..fee4ccd 100644 --- a/qmk_config_fpkb_v4/info.json +++ b/qmk_config_fpkb_v4/info.json @@ -13,4 +13,44 @@ "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_v4/keyboard.json b/qmk_config_fpkb_v4/keyboard.json new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/qmk_config_fpkb_v4/keyboard.json diff --git a/qmk_config_fpkb_v4/keymaps/gallium/keymap.c b/qmk_config_fpkb_v4/keymaps/gallium/keymap.c new file mode 100644 index 0000000..0a4b6d6 --- /dev/null +++ b/qmk_config_fpkb_v4/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_v4/keymaps/pinev4/keymap.c b/qmk_config_fpkb_v4/keymaps/pinev4/keymap.c new file mode 100644 index 0000000..4f5c6fd --- /dev/null +++ b/qmk_config_fpkb_v4/keymaps/pinev4/keymap.c @@ -0,0 +1,76 @@ +/* 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{ + PINEV4, + SYMB, + NUMB, + FUNC, + MOUS, +}; + +#undef TAPPING_TERM +#define TAPPING_TERM 200 +#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] = { + [PINEV4] = LAYOUT_split_3x5_2( + KC_Q, KC_L, KC_C, KC_M, KC_K, KC_QUOT, KC_F, KC_U, KC_O, KC_Y, + g(N), a(R), c(S), s(T), KC_W, KC_P, s(H), c(E), a(A), g(I), + KC_J, KC_X, KC_Z, KC_G, KC_V, KC_B, KC_D, KC_SLSH, KC_COMM, 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, KC_WH_U, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_BTN3, KC_BTN2, KC_BTN1, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_NO, KC_NO, KC_WH_D, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, + KC_NO, KC_TRNS, KC_NO, KC_NO + ) +}; diff --git a/qmk_config_fpkb_v4/keymaps/vlom/keymap.c b/qmk_config_fpkb_v4/keymaps/vlom/keymap.c index 46957f0..8c9d7ad 100644 --- a/qmk_config_fpkb_v4/keymaps/vlom/keymap.c +++ b/qmk_config_fpkb_v4/keymaps/vlom/keymap.c @@ -1,3 +1,19 @@ +/* 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{ |
