Custom layout: first attempt

This commit is contained in:
Thomas Haukland
2022-02-06 16:33:08 +01:00
parent 333dd5d48c
commit 32b56d7e27
3 changed files with 350 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
/*
Copyright 2020 Pierre Chevalier <pierrechevalier83@gmail.com>
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
// Set the mouse settings to a comfortable speed/accuracy trade-off,
// assuming a screen refresh rate of 60 Htz or higher
// The default is 50. This makes the mouse ~3 times faster and more accurate
#define MOUSEKEY_INTERVAL 16
// The default is 20. Since we made the mouse about 3 times faster with the previous setting,
// give it more time to accelerate to max speed to retain precise control over short distances.
#define MOUSEKEY_TIME_TO_MAX 40
// The default is 300. Let's try and make this as low as possible while keeping the cursor responsive
#define MOUSEKEY_DELAY 100
// It makes sense to use the same delay for the mouseweel
#define MOUSEKEY_WHEEL_DELAY 100
// The default is 100
#define MOUSEKEY_WHEEL_INTERVAL 50
// The default is 40
#define MOUSEKEY_WHEEL_TIME_TO_MAX 100
// Pick good defaults for enabling homerow modifiers
#define TAPPING_TERM 200
#define PERMISSIVE_HOLD
#define IGNORE_MOD_TAP_INTERRUPT
#define TAPPING_FORCE_HOLD
// Underglow configuration
#ifdef RGBLIGHT_ENABLE
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#endif

View File

@@ -0,0 +1,299 @@
{
"version": 1,
"notes": "My awesome keymap",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "ferris/0_1",
"keymap": "default",
"layout": "LAYOUT_split_3x5_2",
"layers": [
[
"KC_Q",
"KC_W",
"KC_F",
"KC_P",
"KC_B",
"KC_J",
"KC_L",
"KC_U",
"KC_Y",
"KC_BSLS",
"LSFT_T(KC_A)",
"LT(5,KC_R)",
"LT(1,KC_S)",
"LT(3,KC_T)",
"KC_G",
"KC_M",
"LT(4,KC_N)",
"LT(2,KC_E)",
"KC_I",
"LSFT_T(KC_O)",
"KC_Z",
"LCTL_T(KC_X)",
"LALT_T(KC_C)",
"LGUI_T(KC_D)",
"KC_V",
"KC_K",
"LGUI_T(KC_H)",
"LALT_T(KC_COMM)",
"LCTL_T(KC_DOT)",
"KC_MINS",
"LT(6,KC_ESC)",
"KC_BSPC",
"LT(7,KC_SPC)",
"KC_ENT"
],
[
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_QUOT",
"KC_BTN1",
"KC_WH_U",
"KC_BTN2",
"KC_TRNS",
"KC_TRNS",
"KC_BTN2",
"KC_NO",
"KC_BTN1",
"KC_TRNS",
"KC_SCLN",
"KC_MS_L",
"KC_MS_D",
"KC_MS_U",
"KC_MS_R",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_LBRC",
"KC_WH_L",
"KC_WH_D",
"KC_WH_R",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS"
],
[
"KC_TRNS",
"KC_TRNS",
"KC_PGUP",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_LEFT",
"KC_UP",
"KC_DOWN",
"KC_RGHT",
"KC_TRNS",
"KC_TRNS",
"KC_LGUI",
"KC_NO",
"LCTL(KC_LALT)",
"LCA(KC_LSFT)",
"KC_TRNS",
"KC_HOME",
"KC_PGDN",
"KC_END",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS"
],
[
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TAB",
"KC_UNDS",
"KC_PIPE",
"KC_QUOT",
"KC_TRNS",
"KC_CIRC",
"KC_ASTR",
"KC_AMPR",
"KC_NO",
"KC_TRNS",
"KC_HASH",
"KC_TILD",
"KC_SLSH",
"KC_DQUO",
"KC_DLR",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_MINS",
"KC_BSLS",
"KC_GRV",
"KC_TRNS",
"RGB_RMOD",
"KC_TRNS",
"KC_TRNS",
"RGB_MOD"
],
[
"KC_TRNS",
"KC_COLN",
"KC_LT",
"KC_GT",
"KC_SCLN",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_LCBR",
"KC_RCBR",
"KC_LPRN",
"KC_RPRN",
"KC_AT",
"KC_TRNS",
"KC_NO",
"KC_EQL",
"KC_PLUS",
"KC_PERC",
"KC_TRNS",
"KC_EXLM",
"KC_LBRC",
"KC_RBRC",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_VOLD",
"KC_TRNS",
"KC_TRNS",
"KC_VOLU"
],
[
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_F7",
"KC_F8",
"KC_F9",
"KC_F10",
"KC_TRNS",
"KC_NO",
"LCTL(KC_LALT)",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_F4",
"KC_F5",
"KC_F6",
"KC_F11",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_F1",
"KC_F2",
"KC_F3",
"KC_F12",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS"
],
[
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_PPLS",
"KC_7",
"KC_8",
"KC_9",
"KC_PAST",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_PENT",
"KC_NO",
"KC_PMNS",
"KC_4",
"KC_5",
"KC_6",
"KC_PSLS",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_NO",
"KC_PDOT",
"KC_1",
"KC_2",
"KC_3",
"KC_PEQL",
"KC_NO",
"KC_NO",
"KC_0",
"KC_COMM"
],
[
"KC_TRNS",
"KC_TRNS",
"KC_COLN",
"KC_ESC",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_DEL",
"KC_TRNS",
"KC_PERC",
"KC_SLSH",
"KC_ENT",
"KC_TRNS",
"DF(1)",
"KC_LGUI",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_TRNS",
"KC_EXLM",
"KC_TRNS",
"DF(0)",
"KC_TRNS",
"RALT_T(KC_COMM)",
"RCTL_T(KC_DOT)",
"RESET",
"KC_TRNS",
"KC_TRNS",
"KC_NO",
"KC_TRNS"
]
],
"author": "@pierrec83"
}

View File

@@ -0,0 +1,4 @@
This is basically the default keymap, changed to Colemak DH.
Also thumb non-homing are changed to ESC and Enter.
Also