From 950645da0d17986350526a19114a121befc44a63 Mon Sep 17 00:00:00 2001 From: Thomas Haukland Date: Sun, 3 Apr 2022 18:35:13 +0200 Subject: [PATCH] Colemak DH for blacktyl --- keyboards/bastardkb/blacktyl/info.json | 47 ++++ .../bastardkb/blacktyl/keymaps/tompi/config.h | 50 ++++ .../blacktyl/keymaps/tompi/keymap.json | 245 ++++++++++++++++++ .../blacktyl/keymaps/tompi/readme.md | 4 + 4 files changed, 346 insertions(+) create mode 100644 keyboards/bastardkb/blacktyl/info.json create mode 100644 keyboards/bastardkb/blacktyl/keymaps/tompi/config.h create mode 100644 keyboards/bastardkb/blacktyl/keymaps/tompi/keymap.json create mode 100644 keyboards/bastardkb/blacktyl/keymaps/tompi/readme.md diff --git a/keyboards/bastardkb/blacktyl/info.json b/keyboards/bastardkb/blacktyl/info.json new file mode 100644 index 00000000000..ba09b4f8e9b --- /dev/null +++ b/keyboards/bastardkb/blacktyl/info.json @@ -0,0 +1,47 @@ +{ + "keyboard_name": "Blacktyl", + "url": "https://www.bastardkb.com", + "maintainer": "Quentin Lebastard", + "layouts": { + "LAYOUT_split_3x5_3": { + "layout": [ + {"label":"L00", "x":0, "y":0}, + {"label":"L01", "x":1, "y":0}, + {"label":"L02", "x":2, "y":0}, + {"label":"L03", "x":3, "y":0}, + {"label":"L04", "x":4, "y":0}, + {"label":"R00", "x":11, "y":0}, + {"label":"R01", "x":12, "y":0}, + {"label":"R02", "x":13, "y":0}, + {"label":"R03", "x":14, "y":0}, + {"label":"R04", "x":15, "y":0}, + {"label":"L10", "x":0, "y":1}, + {"label":"L11", "x":1, "y":1}, + {"label":"L12", "x":2, "y":1}, + {"label":"L13", "x":3, "y":1}, + {"label":"L14", "x":4, "y":1}, + {"label":"R10", "x":11, "y":1}, + {"label":"R11", "x":12, "y":1}, + {"label":"R12", "x":13, "y":1}, + {"label":"R13", "x":14, "y":1}, + {"label":"R14", "x":15, "y":1}, + {"label":"L20", "x":0, "y":2}, + {"label":"L21", "x":1, "y":2}, + {"label":"L22", "x":2, "y":2}, + {"label":"L23", "x":3, "y":2}, + {"label":"L24", "x":4, "y":2}, + {"label":"R20", "x":11, "y":2}, + {"label":"R21", "x":12, "y":2}, + {"label":"R22", "x":13, "y":2}, + {"label":"R23", "x":14, "y":2}, + {"label":"R24", "x":15, "y":2}, + {"label":"L33", "x":4, "y":3}, + {"label":"L34", "x":5, "y":3}, + {"label":"L31", "x":6, "y":3}, + {"label":"R33", "x":9, "y":3}, + {"label":"R34", "x":10, "y":3}, + {"label":"R31", "x":11, "y":3} + ] + } + } +} diff --git a/keyboards/bastardkb/blacktyl/keymaps/tompi/config.h b/keyboards/bastardkb/blacktyl/keymaps/tompi/config.h new file mode 100644 index 00000000000..6e0a7230fe8 --- /dev/null +++ b/keyboards/bastardkb/blacktyl/keymaps/tompi/config.h @@ -0,0 +1,50 @@ +/* +Copyright 2020 Pierre Chevalier + +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 . +*/ + +#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 250 +// #define PERMISSIVE_HOLD +#define IGNORE_MOD_TAP_INTERRUPT +#define TAPPING_FORCE_HOLD +#define RETRO_TAPPING + +// Underglow configuration +#ifdef RGBLIGHT_ENABLE + #define RGBLIGHT_ANIMATIONS + #define RGBLIGHT_HUE_STEP 8 + #define RGBLIGHT_SAT_STEP 8 + #define RGBLIGHT_VAL_STEP 8 +#endif + +#define UNICODE_SELECTED_MODES UC_MAC diff --git a/keyboards/bastardkb/blacktyl/keymaps/tompi/keymap.json b/keyboards/bastardkb/blacktyl/keymaps/tompi/keymap.json new file mode 100644 index 00000000000..fc77b93958a --- /dev/null +++ b/keyboards/bastardkb/blacktyl/keymaps/tompi/keymap.json @@ -0,0 +1,245 @@ +{ + "version": 1, + "notes": "My awesome keymap", + "documentation": "\"This file is a QMK Configurator export. You can import this at . It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: \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": "bastardkb/skeletyl", + "keymap": "default", + "layout": "LAYOUT_split_3x5_3", + "layers": [ + [ + "LT(5,KC_Q)", "KC_W", "KC_F", "KC_P", "KC_B", "LT(2,KC_J)", "KC_L", "KC_U", "KC_Y", "LT(4,KC_SCLN)", + "KC_A", "KC_R", "KC_S", "KC_T", "KC_G", "KC_M", "KC_N", "KC_E", "KC_I", "KC_O", + "LSFT_T(KC_Z)", "LT(3,KC_X)", "KC_C", "KC_D", "KC_V", "LT(1,KC_K)", "LGUI_T(KC_H)", "LALT_T(KC_COMM)", "LCTL_T(KC_DOT)", "LSFT_T(KC_SLSH)", + "LT(6,KC_ESC)", "KC_BSPC", "KC_LEFT_CTRL", "KC_LEFT_GUI", "KC_SPC", "LT(4,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_QUOT", + "KC_HOME", + "KC_DEL", + "KC_PGUP", + "KC_NO", + "KC_NO", + "KC_RALT", + "KC_LSFT", + "KC_NO", + "KC_NO", + "KC_O", + "KC_LEFT", + "KC_UP", + "KC_RGHT", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_A", + "KC_END", + "KC_DOWN", + "KC_PGDN", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "KC_NO", + "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_ESC", + "KC_CIRC", + "KC_ASTR", + "KC_AMPR", + "KC_NO", + "KC_TRNS", + "KC_HASH", + "KC_QUOT", + "KC_EXLM", + "KC_DQUO", + "KC_DLR", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_QUOT", + "KC_SCLN", + "KC_LBRC", + "KC_TRNS", + "RGB_RMOD", + "KC_TRNS", + "KC_TRNS", + "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_TRNS", + "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_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_NO" + ], + [ + "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_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_NO", + "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_TRNS", + "KC_TRNS", + "KC_0", + "KC_COMM" + ] + ], + "author": "thomas.haukland@gmail.com" +} diff --git a/keyboards/bastardkb/blacktyl/keymaps/tompi/readme.md b/keyboards/bastardkb/blacktyl/keymaps/tompi/readme.md new file mode 100644 index 00000000000..b76f9519eb2 --- /dev/null +++ b/keyboards/bastardkb/blacktyl/keymaps/tompi/readme.md @@ -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