Userspace for the open-source QMK keyboard firmware.
Find a file
Victor f57e5fedf7
More ironing out of bugs
- Fixed the back stroke and forward stroke so it's tap hold override
- Added ability to hold repeat the tap hold shifted key
2024-05-09 22:44:36 -05:00
.devcontainer Add support for devcontainers. (#6) 2024-02-23 22:35:45 +11:00
.github/workflows Point my userspace at a clone of .github 2024-04-14 14:51:28 -05:00
.vscode Add support for devcontainers. (#6) 2024-02-23 22:35:45 +11:00
keyboards Reverted Keymap and overhauled Tap-Hold Override 2024-05-09 22:21:46 -05:00
layouts Initial structure. 2023-11-22 15:22:43 +11:00
users/t4corun More ironing out of bugs 2024-05-09 22:44:36 -05:00
.clang-format Initial structure. 2023-11-22 15:22:43 +11:00
.clangd Initial structure. 2023-11-22 15:22:43 +11:00
.editorconfig Initial structure. 2023-11-22 15:22:43 +11:00
.gitignore Migrating over userspace 2024-04-01 22:26:41 -05:00
keymap-drawer.yml Updated documentation ahead of reverting keymap back 2024-05-09 10:52:35 -05:00
LICENSE Initial structure. 2023-11-22 15:22:43 +11:00
Makefile Initial structure. 2023-11-22 15:22:43 +11:00
my_keymap.png Updated documentation ahead of reverting keymap back 2024-05-09 10:52:35 -05:00
qmk.json Forgot to add the rollow back to the qmk.json file 2024-04-11 09:21:31 -05:00
qmk_clone.json Adding structure for klor 2024-04-14 22:31:51 -05:00
qmk_nontree.json Fixed a bunch of stuff 2024-04-11 23:45:44 -05:00
README.md Updated documentation ahead of reverting keymap back 2024-05-09 10:52:35 -05:00

T4CORUN Userspace

My userspace for building QMK firmware via GitHub Actions. This does not require a local build environment where files are placed within keyboard subfolders.

Layout

The custom layout optimizes for programming (SQL, Powershell, C) and minimizes holds for comfort. It started from Manna Harbor Miryoku, took heavy influence from Jonas Hietala T-34, and trying to achieve Callum's Minimal Layout. The keymap designed for split 3x5, two thumbs keys, dual encoders, and combined with a Ploopy Nano trackball mouse. Design themes:

  • Releasing all keys always brings you back to base layer
  • Keeping certain keys consistent on all layers for better muscle memory
  • Numbers and function keys are positioned similarly
  • Symbols important for powershell / writing are positioned under stronger fingers
  • Game keymap that doesn't require massive game key bind changes. Tested on Resident Evil 4 Remake

Notes:

  • Outside thumb keys are encoder clicks. Some keyboards may have extra thumb keys
  • Pressing Pointer DPI and Drag Scroll Toggle together will enter Ploopy Nano's boot loader

image

Features

Build Non-Tree Keyboards

  • Extended the qmk/.github userspace build actions to build non-tree qmk keyboards (e.g. Barbellboards Rollow). This works by copying keyboard definitions from the userspace to the qmk_firmware keyboards folder in the container. The list of keyboards to copy are defined in qmk_nontree.json

Layout Wrapper Macros

A single keymap layout can be shared with multiple keyboards by using C preprocessor macros. These macros are referenced in the keyboard JSON files, and the build process will expand them into a transient keymap.c file during compile time.

In this userspace, the base split 3x5_3 layout can be adapted for other split keyboards by expanding it with macros. For example, there is a wrapper that will add extra columns to the base layout for a Corne's 42-key 3x6_3 layout.

Tri-Layer

Hold both thumb momentary layer keys NAVIGATION and SYMBOL to access the NUMBER layer

One Shot Mods

One Shot Mods is here to minimize holding and simplify layers as mods are not required on every layer. Here we have bi-lateral(ish) GACS mods.

Caps Word

Caps Word enables temporary all-caps typing without holding shift. Useful to typing programming variables. Tap shift twice to enable Caps Word. It cancels when any key is pressed except

  • numbers 0-9
  • backspace
  • delete
  • underscore

Tap-Holds

Certain keys have different behaviors when held vs tapped allowing commonly typed programming syntax or shifting certain keycodes without actually pressing/holding shift

Keycode When tapped When held Comments
TR_LBRC [ [] with cursor inside
TR_LABK < <> with cursor inside
TR_LPRN ( () with cursor inside
TR_SQUO ' '' with cursor inside
TR_EQL = ==
TR_EXLM ! $
TR_COMM , ( enables parenthesis on base layer
TR_DOT . )
TR_PERC % ^
TR_MINS - _
TR_GRV backtick ~
TR_SCLN ; :
TR_QUOT ' "
TR_AT @ &
TR_EXLM ! $

Opted to implement overrides here instead of using built-in Key Override functionality because

  • Not required to press/hold shift to get the alternate key
  • Key Overrides would enable holding to repeat keycodes but hard to justify that for the symbols, even for programming

Combos

Enables additional keys to be mapped by pressing multiple keys simultaneously. Primarily used to implement mouse buttons and make important keys (enter, backspace, etc) available on base layer

Key Overrides

Primarily used to minimize the layout

Keycode Shift Mod Applied Comment
KC_BSPC KC_DEL Implemented to reduce amount of combos
KC_MNXT KC_MPRV

Mouse Keys

This layout is designed to be used with a Ploopy Nano. Mouse buttons and scroll wheel is handled on the keyboard side. There are macros with the host status (Caps lock, Num Lock) to toggle Ploopy Nano settings or change the tracking to simulate a scroll wheel

Optional Features

These features can be disabled due to MCU size constraints or because certain keyboards do not support it

Pointing Device

Enables trackball functionality on certain boards (e.g., Ploopy Nano and Bastardkb Charybdis Nano). The board definitions enables unique functionality:

  • Charybdis Nano: "Sniper" precision tracking, drag Scroll, DPI changes
  • Ploopy Nano: Ties with Host Status LED macros to enable drag scroll, dpi changes, and bootloader

Note: MOUSEKEY_ENABLE do not need to be enabled in tandem with this to get the mouse buttons.

RGB Matrix

Taste the rainbow for boards with RGB LEDs and large MCU memory footprints. Enables RGB lighting effects and layer/host status indicators. Review the keyboard files to identify the key position for each LED and update the preprocessor definitions in config\rgbmatrix_config.h

OLED

Enables keyboard status visualization. Shows currently selected layer, active modifiers, and host status (e.g, Num / Caps / Scroll Lock)

Target Keyboards

All boards use my keymaps unless noted

  • Ploopy Nano: lkbm keymap
  • Bastardkb Charybdis Nano 3x5
  • Crkbd 3x6
  • Planck Rev6
  • Ferris Swoop
  • Barbell Rollow (non-tree)
  • DZRGB60v2 (coming)
  • Geist KLOR (coming)