Skip to content

Commit

Permalink
Version 35 (2024-02-18)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunaku committed Feb 18, 2024
1 parent 4475164 commit 3b8a329
Show file tree
Hide file tree
Showing 16 changed files with 5,245 additions and 1,764 deletions.
70 changes: 52 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# "Glorious Engrammer" keymap for MoErgo Glove80

This is [my Glove80][1] keymap featuring the [Engram][2]/[mer][3]
This is [my Glove80][1] keymap featuring the [Engram][2]/[mer][3]
layouts with [Miryoku][4]-style layers and [home row mods][5].
Other layouts (QWERTY, Dvorak, Colemak, Workman) and
familiar keys (arrows, pinky shifts, function row)
Other layouts (QWERTY, Dvorak, Colemak/DH, etc.) and
familiar keys (arrows, pinky shifts, function row)
are also provided as "training wheels" to aid your
transition to the full glory, at your convenience.

Expand All @@ -15,13 +15,40 @@ transition to the full glory, at your convenience.
[4]: https://github.com/manna-harbour/miryoku
[5]: https://sunaku.github.io/home-row-mods.html

<!-- vim-markdown-toc GFM -->

* [Keymap](#keymap)
* [Legend](#legend)
* [Guide](#guide)
* [Operating system](#operating-system)
* [Home row mods](#home-row-mods)
* [One-shot shifts](#one-shot-shifts)
* [Layer access keys](#layer-access-keys)
* [Key auto-repeat](#key-auto-repeat)
* [Alpha layouts](#alpha-layouts)
* [Unicode and Emoji](#unicode-and-emoji)
* [Installing](#installing)
* [Flashing](#flashing)
* [Upgrading](#upgrading)
* [Customizing](#customizing)
* [Overriding the defaults](#overriding-the-defaults)
* [Reordering home row mods](#reordering-home-row-mods)
* [Fine-tuning the timing](#fine-tuning-the-timing)
* [Compiling from source](#compiling-from-source)
* [Unicode/Emoji characters](#unicodeemoji-characters)
* [Rearranging the base layer](#rearranging-the-base-layer)
* [Discussion](#discussion)
* [License](#license)

<!-- vim-markdown-toc -->

## Keymap

- https://my.glove80.com/#/layout/user/58f097f9-2d26-4399-a249-666e1bec9341
- https://my.glove80.com/#/layout/user/05c7da03-20bd-494e-a795-d382a5a96621

### Legend

See [interactive layer map][6] for overview and documentation.
See [interactive layer map][6] for overview and documentation.
>NOTE: This is also available as a [printable PDF document][7].
See [release notes][8] for a visual overview of recent updates.
Expand Down Expand Up @@ -55,8 +82,8 @@ or the number `1`) when tapped or modifiers (such as Shift or Ctrl) when held.

![Concept diagram of *home row mods* on a row-staggered keyboard][HRM_diagram]

[HRM]: https://sunaku.github.io/home-row-mods.html
[HRM_diagram]: https://sunaku.github.io/home-row-mods.png
[HRM]: https://sunaku.github.io/home-row-mods.html
[HRM_diagram]: https://sunaku.github.io/home-row-mods.png

The diagram above shows the default "GACS" order of home row mods in this keymap:
- "G" means `LGUI`, which is the Win key in Windows, Cmd in macOS, Super in Linux.
Expand All @@ -68,6 +95,13 @@ The diagram above shows the default "GACS" order of home row mods in this keymap
the home row mods order will be automatically rearranged into "CAGS" because
macOS shortcuts tend to use the Cmd key like Windows/Linux use the Ctrl key.

#### One-shot shifts

The Lower keys on the base layer provide one-shot sticky shift functionality,
whereby tapping them temporarily activates a sticky Shift that applies itself
to the next key you tap. This can be useful for single letter capitalization,
such as for the frequent "I" in English or when typing camel/PascalCase names.

### Layer access keys

This keymap borrows heavily from the [legendary Miryoku][4] system, featuring:
Expand All @@ -79,7 +113,7 @@ This keymap borrows heavily from the [legendary Miryoku][4] system, featuring:
The idea is that you can always access modifiers with the same hand as the
layer access key (which your thumb is holding down) to modify keystrokes on
that respective layer. This way, you don't need to lift your hands off the
keyboard or your fingers away from their home position to execute shortcuts.
keyboard or your fingers away from their home position to execute shortcuts.

### Key auto-repeat

Expand All @@ -105,13 +139,13 @@ by holding the Magic key and tapping the respective number key for that layer.
| --------- | ------------ | ----------------------------------- |
| Magic+`=` | 0 | Engrammer (base layer; your choice) |
| Magic+`1` | 1 | Engram |
| Magic+`2` | 2 | Halmak |
| Magic+`3` | 3 | Dvorak |
| Magic+`4` | 4 | Colemak |
| Magic+`2` | 2 | Dvorak |
| Magic+`3` | 3 | Colemak |
| Magic+`4` | 4 | ColemakDHm |
| Magic+`5` | 5 | QWERTY |
| Magic+`6` | 6 | Minimak |
| Magic+`7` | 7 | Norman |
| Magic+`8` | 8 | Workman |
| Magic+`6` | 6 | Norman |
| Magic+`7` | 7 | Workman |
| Magic+`8` | 8 | Halmak |

For the first 5 alpha layouts, the respective number key for each layout will
illuminate when you tap the Magic key. For example, suppose that we activate
Expand All @@ -135,7 +169,7 @@ may need to enable support for Unicode hexadecimal character input in your OS:
- (Linux) https://help.ubuntu.com/stable/ubuntu-help/tips-specialchars.html.en#ctrlshiftu
- (Windows) https://github.com/samhocevar/wincompose

Specifically, Windows users should be running the WinCompose tool linked above.
Specifically, Windows users need to be running the WinCompose tool linked above.

## Installing

Expand Down Expand Up @@ -181,7 +215,7 @@ adding them above the snippet in the "Custom Defined Behaviors" text box:

```dts
// add your overrides here, up at the very top:
#define OPERATING_SYSTEM 3 // windows
#define OPERATING_SYSTEM 3 // windows
#define EMOJI_HAIR_STYLE_PRESET 3 // curly_hair
// ... rest of snippet goes here, unchanged ...
Expand Down Expand Up @@ -233,14 +267,14 @@ adjust the `#define` time thresholds in the "Custom Defined Behaviors" snippet.

2. Install dependencies OR skip this step if you have Docker on your system:

apt install rake graphviz
apt install rake graphviz

3. In your copy of this repository, run `rake` OR `./rake` if using Docker.

#### Unicode/Emoji characters

You can customize the preset characters in the Emoji and World layers by
editing their respective YAML source files in this repository. Afterwards,
editing their respective YAML source files in this repository. Afterwards,
run the `rake` command and then copy the new `keymap.dtsi` contents back into
the "Custom Defined Behaviors" text box in the Layout Editor for your keymap.

Expand Down
Binary file modified README/all-layer-diagrams.pdf
Binary file not shown.
33 changes: 10 additions & 23 deletions README/base-layer-diagram.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,33 +101,22 @@
"Z"
],
[
{
"a": 5,
"fa": [
1
]
},
"Caps lock\nCaps word",
"Caps word",
{
"c": "#FFCDD2",
"p": "SPACE",
"a": 7,
"f": 3
"p": "SPACE"
},
"C\n\n\n\nWin",
{
"c": "#FFCCBC",
"f": 3
"c": "#FFCCBC"
},
"I\n\n\n\nAlt",
{
"c": "#FFECB3",
"f": 3
"c": "#FFECB3"
},
"E\n\n\n\nCtrl",
{
"c": "#DCEDC8",
"f": 3,
"n": true
},
"A\n\n\n\nShift",
Expand Down Expand Up @@ -222,12 +211,12 @@
9
]
},
"&uArr;",
"&lArr;",
"&dArr;",
{
"x": 1
},
"&lArr;",
"&uArr;",
"&rArr;",
{
"c": "#D1C4E9",
Expand Down Expand Up @@ -272,18 +261,16 @@
"Delete\n\n\n\nNumber",
{
"c": "#757575",
"t": "#EEEEEE",
"p": "CHICKLET"
"t": "#EEEEEE"
},
"Lower",
"Shift <small>(1-shot)</small>\n\n\n\nLower",
{
"x": 1
},
"Lower",
"Shift <small>(1-shot)</small>\n\n\n\nLower",
{
"c": "#D1C4E9",
"t": "#000000",
"p": "SPACE"
"t": "#000000"
},
"Tab\n\n\n\nMouse",
{
Expand Down
Binary file modified README/base-layer-diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions README/cursor-layer-diagram.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,21 +159,21 @@
[
"Down loads",
{
"c": "#e1bee7"
"c": "#bbdefb",
"t": "#00000"
},
"Find",
"Select all",
{
"c": "#bbdefb"
"t": "#000000"
},
"Select word\n\n\n\nSymbol",
"Select line\n\n\n\nMouse",
"Select word\n\n\n\nSymbol",
{
"t": "#00000"
"c": "#e1bee7"
},
"Select all",
"Find",
{
"c": "#ffecb3",
"t": "#000000"
"c": "#ffecb3"
},
"Paste",
{
Expand Down Expand Up @@ -201,8 +201,8 @@
{
"c": "#bbdefb"
},
"Extend word",
"Extend line",
"Extend word",
{
"c": "#e1bee7"
},
Expand Down
Binary file modified README/cursor-layer-diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions README/gaming-layer-diagram.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,20 @@
],
[
{
"y": -0.5,
"x": 7,
"c": "#a5d6a7",
"p": "FLAT",
"f": 2,
"h": 2.5
},
"Toggle <small>base layer</small>"
],
[
{
"y": -0.5,
"c": "#cccccc",
"p": "CHICKLET",
"a": 7,
"f": 3
},
Expand Down
Binary file modified README/gaming-layer-diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3b8a329

Please sign in to comment.