diff options
Diffstat (limited to 'qmk_config_fpkb_v3/keymaps/vlom')
| -rw-r--r-- | qmk_config_fpkb_v3/keymaps/vlom/keymap.c | 68 |
1 files changed, 68 insertions, 0 deletions
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 + ) +}; |
