Update Atreus layout to match the Niu layout. Fix Niu comment typo. (#5297)
This commit is contained in:
parent
f9f04ff2a4
commit
3380694740
4 changed files with 220 additions and 159 deletions
|
@ -1,77 +1,103 @@
|
||||||
# Overview
|
# Overview
|
||||||
|
|
||||||
A Balance 12 layout for the Atreus keyboard.
|
This layout is based on Balance Twelve (mirror variant) by Sasha Viminitz. Please see [this page](https://mathematicalmulticore.wordpress.com/the-keyboard-layout-project/)
|
||||||
|
for more information. It's designed for left-handers who use their right hand for the mouse.
|
||||||
|
|
||||||
Balance 12 was created by Sasha Viminitz. Please see [this page](https://mathematicalmulticore.wordpress.com/the-keyboard-layout-project/)
|
## To build
|
||||||
for some background on the design of the layout.
|
|
||||||
|
|
||||||
* The variant used here is a mirror of the original for left-handers
|
```
|
||||||
* The central column of punctuation keys has been moved elsewhere
|
sudo make atreus:yttyx
|
||||||
* Home positions for the left and right forefingers are *T* and *A* respectively
|
```
|
||||||
|
|
||||||
## To build/flash
|
## To flash (example)
|
||||||
|
|
||||||
> make atreus:yttyx:avrdude
|
```
|
||||||
|
sudo avrdude -p atmega32u4 -c avr109 -U flash:w:atreus_yttyx.hex -P /dev/ttyACM0
|
||||||
|
```
|
||||||
|
|
||||||
## Layers
|
## Layers
|
||||||
|
|
||||||
### Base:
|
### Base:
|
||||||
|
|
||||||
.----------------------------------. .------------------------------.
|
.--------.-------.-------.-------.--------. .-------.-------.-------.-------.------.
|
||||||
| P | L | C | D | W | | U | O | Y | K | Q |
|
| P | L | C | D | W | | U | O | Y | K | Q |
|
||||||
+------+------+------+-----+-------| |------+-----+-----+-----+-----|
|
|--------+-------+-------+-------+--------| |-------+-------+-------+-------+------|
|
||||||
| N | R | S | T | M | | A | E | I | H | V |
|
| N | R | S | T | M | | A | E | I | H | V |
|
||||||
+------+------+------+-----+-------| |------+-----+-----+-----+-----|
|
|--------+-------+-------+-------+--------| |-------+-------+-------+-------+------|
|
||||||
| Z | J | F | G | B | | , | . | ; | X | - |
|
| Z Sft | J Ctl | F Alt | G | B | | , | . Alt | ; Ctl | X Sft | Sup |
|
||||||
+------+------+------+-----+-------+---------+------+-----+-----+-----+-----|
|
'--------'-------'-------+-------+--------+-----. .-----+-------+-------+-------'-------'------'
|
||||||
| Shft | Ctl | Alt | BS | Space | L1 | R1 | Shft | R2 | Win | Ctl | Alt |
|
| BS P1 | Spc P2 | P3 | | | Sft | |
|
||||||
'---------------------------------------------------------------------------'
|
'-------'--------'-----' '-----'-------'-------'
|
||||||
|
|
||||||
### L1:
|
### P1: Punctuation (1)
|
||||||
|
|
||||||
.---------------------------------. .--------------------------------.
|
|
||||||
| 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |
|
|
||||||
|------+------+------+----+-------| |------+----+-----+------+-------|
|
|
||||||
| Tab | ? | = | - | _ | | ' | " | + | * | Enter |
|
|
||||||
|------+------+------+----+-------| |------+----+-----+------+-------|
|
|
||||||
| Esc | ! | & | | | | , | . | ; | | - |
|
|
||||||
|------+------+------+----+-------+---------+------+----+-----+------+-------|
|
|
||||||
| Shft | Ctrl | Alt | Bk | Space | L1 | R1 | Shft | R2 | Sup | Ctrl | Alt |
|
|
||||||
'----------------------------------------------------------------------------'
|
|
||||||
|
|
||||||
### R1:
|
.--------.-------.-------.-------.-------. .------.-------.-------.-------.------.
|
||||||
|
| Esc | | | | RS | | | | / | ^ | £ | ~ |
|
||||||
|
|--------+-------+-------+-------+-------| |------+-------+-------+-------+------|
|
||||||
|
| Tab | | | | | | & | \ | ` | $ | Ent |
|
||||||
|
|--------+-------+-------+-------+-------| |------+-------+-------+-------+------|
|
||||||
|
| Sft | Ctl | Alt | Del | | | % | Alt | Ctl | Sft | Sup |
|
||||||
|
'--------'-------'-------+-------+-------+-----. .-----+------+-------+-------'-------'------'
|
||||||
|
| P1 | | | | | Sft | |
|
||||||
|
'-------'-------'-----' '-----'------'-------'
|
||||||
|
|
||||||
.---------------------------------. .-------------------------------.
|
### P2: Punctuation (2)
|
||||||
| < | > | { | } | @ | | $ | £ | | | R3 |
|
|
||||||
+------+------+-----+-----|-------| |------+----+-----+------+------|
|
|
||||||
| [ | ] | ( | ) | # | | ' | " | ~ | ` | Caps |
|
|
||||||
|------+------+-----+-----+-------| |------+----+-----+------+------|
|
|
||||||
| / | \ | ^ | | | % | | , | . | ; | | PScn |
|
|
||||||
|------+------+-----+-----+-------+---------+------+----+-----+------+------|
|
|
||||||
| Shft | Ctrl | Alt | Del | Space | L1 | R1 | Shft | R2 | Sup | Ctrl | Alt |
|
|
||||||
'---------------------------------------------------------------------------'
|
|
||||||
|
|
||||||
### R2:
|
.-------.-------.-------.-------.-------. .-------.-------.-------.-------.------.
|
||||||
|
| Esc | | NC | FV | | | ( | ) | " | ? | |
|
||||||
|
|-------+-------+-------+-------+-------| |-------+-------+-------+-------+------|
|
||||||
|
| Tab | Ctl-X | Ctl-C | Ctl-V | Ctl-Z | | { | } | ' | ! | Ent |
|
||||||
|
|-------+-------+-------+-------+-------| |-------+-------+-------+-------+------|
|
||||||
|
| Sft | Ctl | Alt | Del | Ent | | # | Alt | Ctl | Sft | Sup |
|
||||||
|
'-------'-------'-------+-------+-------+-----. .-----+-------+-------+-------'-------'------'
|
||||||
|
| BS | P2 | | | | Sft | |
|
||||||
|
'-------'-------'-----' '-----'-------'-------'
|
||||||
|
|
||||||
.-----------------------------------. .--------------------.-----------------.
|
### P3: Punctuation (3)
|
||||||
| F12 | F11 | F10 | F9 | Copy | | Home | Up | End | PgUp | Insert |
|
|
||||||
|------+------+------+------+-------| |------+------+------+------+----------|
|
|
||||||
| F8 | F7 | F6 | F5 | Paste | | Left | Down | Right| PgDn | Enter |
|
|
||||||
|------+------+------+------+-------| |------+------+------+------+----------|
|
|
||||||
| F4 | F3 | F2 | F1 | Cut | | ^Tab | | Tab | | |
|
|
||||||
|------+------+------+------+-------+---------+------+------+------+------+----------|
|
|
||||||
| Shft | Ctrl | Alt | Del | Undo | L1 | R1 | Shft | R2 | Sup | Ctrl | WinRight |
|
|
||||||
'------------------------------------------------------------------------------------'
|
|
||||||
|
|
||||||
### R3:
|
.-------.-------.-------.-------.-------. .------.-------.-------.-------.------.
|
||||||
|
| Esc | | Break | Pscr | ScLk | | < | > | + | _ | = |
|
||||||
|
|-------+-------+-------+-------+-------| |------+-------+-------+-------+------|
|
||||||
|
| Tab | | | Caps | | | [ | ] | * | - | Ent |
|
||||||
|
|-------+-------+-------+-------+-------| |------+-------+-------+-------+------|
|
||||||
|
| Sft | Ctl | Alt | Del | | | @ | Alt | Ctl | Sft | Sup |
|
||||||
|
'-------'-------'-------+-------+-------+-----. .-----+------+-------+-------'-------'------'
|
||||||
|
| BS | | P3 | | | Sft | |
|
||||||
|
'-------'-------'-----' '-----'------'-------'
|
||||||
|
|
||||||
.----------------------------. .------------------------.
|
### Numerals / Cursor control
|
||||||
| RESET | | | | | | | | | | R3 |
|
|
||||||
|-------+----+-----+----+----| |----+----+----+----+----|
|
|
||||||
| | | | | | | | | | | |
|
|
||||||
|-------+----+-----+----+----| |----+----+----+----+----|
|
|
||||||
| | | | | | | | | | | |
|
|
||||||
|-------+----+-----+----+----+---------+----+----+----+----+----|
|
|
||||||
| | | | | | | | | | | | |
|
|
||||||
'---------------------------------------------------------------'
|
|
||||||
|
|
||||||
|
.-------.-------.-------.------.-------. .------.-------.-------.------.------.
|
||||||
|
| 1 | 2 | 3 | 4 | 5 | | Home | Up | End | PgUp | |
|
||||||
|
|-------+-------+-------+------+-------| |------+-------+-------+------+------|
|
||||||
|
| 6 | 7 | 8 | 9 | 0 | | Left | Down | Right | PgDn | |
|
||||||
|
|-------+-------+-------+------+-------| |------+-------+-------+------+------|
|
||||||
|
| Sft | Ctl | Alt | Del | . | | Ins | Alt | Ctl | Sft | Sup |
|
||||||
|
'-------'-------'-------+------+-------+-----. .-----+------+-------+-------'------'------'
|
||||||
|
| BS | BA | | | | Sft | |
|
||||||
|
'------'-------'-----' '-----'------'-------'
|
||||||
|
|
||||||
|
### FV: Function keys / Cursor control (Vim)
|
||||||
|
|
||||||
|
.-------.------.-------.-----.-------. .------.-------.-----.-------.------.
|
||||||
|
| F1 | F2 | F3 | F4 | F5 | | 0 | K | $ | Ctl-B | |
|
||||||
|
|-------+------+-------+-----+-------| |------+-------+-----+-------+------|
|
||||||
|
| F6 | F7 | F8 | F9 | F10 | | H | J | L | Ctl-F | |
|
||||||
|
|-------+------+-------+-----+-------| |------+-------+-----+-------+------|
|
||||||
|
| Sft | Ctl | Alt | F11 | F12 | | | Alt | Ctl | Sft | Sup |
|
||||||
|
'-------'------'-------+-----+-------+-----. .-----+------+-------+-----'-------'------'
|
||||||
|
| BS | BA | | | | Sft | |
|
||||||
|
'-----'-------'-----' '-----'------'-------'
|
||||||
|
|
||||||
|
### RS: Reset
|
||||||
|
|
||||||
|
.-------.------.-------.-----.-------. .------.-------.-----.-------.------.
|
||||||
|
| RESET | | | | | | | | | | |
|
||||||
|
|-------+------+-------+-----+-------| |------+-------+-----+-------+------|
|
||||||
|
| | | | | | | | | | | |
|
||||||
|
|-------+------+-------+-----+-------| |------+-------+-----+-------+------|
|
||||||
|
| | | | | | | | | | | |
|
||||||
|
'-------'------'-------+-----+-------+-----. .-----+------+-------+-----'-------'------'
|
||||||
|
| | BA | | | | | |
|
||||||
|
'-----'-------'-----' '-----'------'-------'
|
||||||
|
|
|
@ -1,12 +1,4 @@
|
||||||
#ifndef CONFIG_H
|
#pragma once
|
||||||
#define CONFIG_H
|
#define NO_ACTION_ONESHOT
|
||||||
|
|
||||||
#define ONESHOT_TIMEOUT 500 // Time (in ms) before the one shot key is released
|
|
||||||
|
|
||||||
// Disable some options to reduce firmware size
|
|
||||||
#define NO_PRINT
|
|
||||||
#define NO_ACTION_TAPPING
|
|
||||||
#define NO_ACTION_MACRO
|
#define NO_ACTION_MACRO
|
||||||
#define NO_ACTION_FUNCTION
|
#define NO_ACTION_FUNCTION
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -2,115 +2,158 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum layers {
|
enum layers {
|
||||||
BASE, // Balance Twelve
|
BA, // Base (Balance Twelve mirror variant)
|
||||||
L1, // (momentary)
|
P1, // Punctuation (1)
|
||||||
R1, // (momentary)
|
P2, // Punctuation (2)
|
||||||
R2, // (momentary)
|
P3, // Punctuation (2)
|
||||||
R3 // (momentary)
|
NC, // Numerals / Cursor control
|
||||||
|
FV, // Function keys / Cursor control (Vim)
|
||||||
|
RS // Reset
|
||||||
};
|
};
|
||||||
|
|
||||||
// Aliases from replicaJunction's atreus layout
|
// Abbreviations - base
|
||||||
#define KCX_LST LSFT(KC_TAB)
|
#define KX_P1_BSPC LT(P1, KC_BSPC)
|
||||||
#define KX_COPY LCTL(KC_C)
|
#define KX_P2_SPC LT(P2, KC_SPC)
|
||||||
#define KX_CUT LCTL(KC_X)
|
|
||||||
#define KX_PAST LCTL(KC_V)
|
|
||||||
#define KX_UNDO LCTL(KC_Z)
|
|
||||||
|
|
||||||
#define KX_AT LSFT(KC_QUOT)
|
#define KX_SFT_Z MT(MOD_LSFT, KC_Z)
|
||||||
#define KX_PIPE LSFT(KC_NUBS)
|
#define KX_CTL_J MT(MOD_LCTL, KC_J)
|
||||||
#define KX_WINR LSFT(LGUI(KC_RGHT)) // Move window to next monitor (Windows)
|
#define KX_ALT_F MT(MOD_LALT, KC_F)
|
||||||
|
|
||||||
|
#define KX_ALT_DOT MT(MOD_LALT, KC_DOT)
|
||||||
|
#define KX_CTL_SCLN MT(MOD_LCTL, KC_SCLN)
|
||||||
|
#define KX_SFT_X MT(MOD_LSFT, KC_X)
|
||||||
|
|
||||||
|
#define KX_AT LSFT(KC_QUOT)
|
||||||
|
#define KX_DQUOT LSFT(KC_2)
|
||||||
|
#define KX_PIPE LSFT(KC_NUBS)
|
||||||
|
#define KX_TILDA LSFT(KC_NUHS)
|
||||||
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][ MATRIX_ROWS ][ MATRIX_COLS ] = {
|
const uint16_t PROGMEM keymaps[][ MATRIX_ROWS ][ MATRIX_COLS ] = {
|
||||||
|
/*
|
||||||
/* Balance Twelve mirror variant (left-handed)
|
.--------.-------.-------.-------.--------. .-------.-------.-------.-------.------.
|
||||||
.--------------------------------. .------------------------------.
|
| P | L | C | D | W | | U | O | Y | K | Q |
|
||||||
| P | L | C | D | W | | U | O | Y | K | Q |
|
|--------+-------+-------+-------+--------| |-------+-------+-------+-------+------|
|
||||||
+------+------+-----+----+-------| |------+----+-----+------+-----|
|
| N | R | S | T | M | | A | E | I | H | V |
|
||||||
| N | R | S | T | M | | A | E | I | H | V |
|
|--------+-------+-------+-------+--------| |-------+-------+-------+-------+------|
|
||||||
+------+------+-----+----+-------| |------+----+-----+------+-----|
|
| Z Sft | J Ctl | F Alt | G | B | | , | . Alt | ; Ctl | X Sft | Sup |
|
||||||
| Z | J | F | G | B | | , | . | ; | X | - |
|
'--------'-------'-------+-------+--------+-----. .-----+-------+-------+-------'-------'------'
|
||||||
+------+------+-----+----+-------+---------+------+----+-----+------+-----|
|
| BS P1 | Spc P2 | P3 | | | Sft | |
|
||||||
| Shft | Ctrl | Alt | Bk | Space | L1 | R1 | Shft | R2 | Win | Ctrl | Alt |
|
'-------'--------'-----' '-----'-------'-------'
|
||||||
'-------------------------------------------------------------------------'
|
*/
|
||||||
*/
|
[BA] = LAYOUT(
|
||||||
[BASE] = LAYOUT(
|
KC_P, KC_L, KC_C, KC_D, KC_W, KC_U, KC_O, KC_Y, KC_K, KC_Q,
|
||||||
KC_P, KC_L, KC_C, KC_D, KC_W, KC_U, KC_O, KC_Y, KC_K, KC_Q,
|
KC_N, KC_R, KC_S, KC_T, KC_M, KC_A, KC_E, KC_I, KC_H, KC_V,
|
||||||
KC_N, KC_R, KC_S, KC_T, KC_M, KC_A, KC_E, KC_I, KC_H, KC_V,
|
KX_SFT_Z, KX_CTL_J, KX_ALT_F, KC_G, KC_B, KC_COMM, KX_ALT_DOT, KX_CTL_SCLN, KX_SFT_X, KC_LGUI,
|
||||||
KC_Z, KC_J, KC_F, KC_G, KC_B, KC_COMM, KC_DOT, KC_SCLN, KC_X, KC_MINS,
|
XXXXXXX, XXXXXXX, XXXXXXX, KX_P1_BSPC, KX_P2_SPC, MO(P3), XXXXXXX, KC_RSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
||||||
KC_LSFT, KC_LCTL, KC_LALT, KC_BSPC, KC_SPC, MO(L1), MO(R1), OSM(MOD_LSFT), MO(R2), KC_LWIN, KC_RCTL, KC_RALT
|
|
||||||
),
|
),
|
||||||
|
|
||||||
/* L1
|
/* P1: Punctuation (1)
|
||||||
.---------------------------------. .--------------------------------.
|
.--------.-------.-------.-------.-------. .------.-------.-------.-------.------.
|
||||||
| 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 |
|
| Esc | | | | RS | | | | / | ^ | £ | ~ |
|
||||||
|------+------+------+----+-------| |------+----+-----+------+-------|
|
|--------+-------+-------+-------+-------| |------+-------+-------+-------+------|
|
||||||
| Tab | ? | = | - | _ | | ' | " | + | * | Enter |
|
| Tab | | | | | | & | \ | ` | $ | Ent |
|
||||||
|------+------+------+----+-------| |------+----+-----+------+-------|
|
|--------+-------+-------+-------+-------| |------+-------+-------+-------+------|
|
||||||
| Esc | ! | & | | | | , | . | ; | | - |
|
| Sft | Ctl | Alt | Del | | | % | Alt | Ctl | Sft | Sup |
|
||||||
|------+------+------+----+-------+---------+------+----+-----+------+-------|
|
'--------'-------'-------+-------+-------+-----. .-----+------+-------+-------'-------'------'
|
||||||
| Shft | Ctrl | Alt | Bk | Space | L1 | R1 | Shft | R2 | Sup | Ctrl | Alt |
|
| P1 | | | | | Sft | |
|
||||||
'----------------------------------------------------------------------------'
|
'-------'-------'-----' '-----'------'-------'
|
||||||
*/
|
*/
|
||||||
[L1] = LAYOUT(
|
[P1] = LAYOUT(
|
||||||
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0,
|
KC_ESC, XXXXXXX, XXXXXXX, XXXXXXX, TO(RS), KX_PIPE, KC_SLSH, KC_CIRC, KC_HASH, KX_TILDA,
|
||||||
KC_TAB, KC_QUES, KC_EQL, KC_MINS, KC_UNDS, KC_QUOT, LSFT(KC_2), KC_PLUS, KC_ASTR, KC_ENT,
|
KC_TAB, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_AMPR, KC_NUBS, KC_GRV, KC_DLR, KC_ENT,
|
||||||
KC_ESC, KC_EXLM, KC_AMPR, XXXXXXX, XXXXXXX, _______, _______, _______, XXXXXXX, _______,
|
KC_LSFT, KC_LCTL, KC_LALT, KC_DEL, XXXXXXX, KC_PERC, KC_LALT, KC_LCTL, KC_LSFT, _______,
|
||||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
||||||
),
|
),
|
||||||
|
|
||||||
/* R1
|
/* P2: Punctuation (2)
|
||||||
.---------------------------------. .-------------------------------.
|
.-------.-------.-------.-------.-------. .-------.-------.-------.-------.------.
|
||||||
| < | > | { | } | @ | | $ | £ | | | R3 |
|
| Esc | | NC | FV | | | ( | ) | " | ? | |
|
||||||
+------+------+-----+-----|-------| |------+----+-----+------+------|
|
|-------+-------+-------+-------+-------| |-------+-------+-------+-------+------|
|
||||||
| [ | ] | ( | ) | # | | ' | " | ~ | ` | Caps |
|
| Tab | Ctl-X | Ctl-C | Ctl-V | Ctl-Z | | { | } | ' | ! | Ent |
|
||||||
|------+------+-----+-----+-------| |------+----+-----+------+------|
|
|-------+-------+-------+-------+-------| |-------+-------+-------+-------+------|
|
||||||
| / | \ | ^ | | | % | | , | . | ; | | PScn |
|
| Sft | Ctl | Alt | Del | Ent | | # | Alt | Ctl | Sft | Sup |
|
||||||
|------+------+-----+-----+-------+---------+------+----+-----+------+------|
|
'-------'-------'-------+-------+-------+-----. .-----+-------+-------+-------'-------'------'
|
||||||
| Shft | Ctrl | Alt | Del | Space | L1 | R1 | Shft | R2 | Sup | Ctrl | Alt |
|
| BS | P2 | | | | Sft | |
|
||||||
'---------------------------------------------------------------------------'
|
'-------'-------'-----' '-----'-------'-------'
|
||||||
*/
|
*/
|
||||||
[R1] = LAYOUT(
|
[P2] = LAYOUT(
|
||||||
KC_LABK, KC_RABK, KC_LCBR, KC_RCBR, KX_AT, KC_DLR, KC_HASH, XXXXXXX, XXXXXXX, MO(R3),
|
KC_ESC, XXXXXXX, TO(NC), TO(FV), XXXXXXX, KC_LPRN, KC_RPRN, KX_DQUOT, KC_QUES, XXXXXXX,
|
||||||
KC_LBRC, KC_RBRC, KC_LPRN, KC_RPRN, KC_NUHS, KC_QUOT, LSFT(KC_2), LSFT(KC_NUHS), KC_GRV, KC_CAPS,
|
KC_TAB, LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), LCTL(KC_Z), KC_LCBR, KC_RCBR, KC_QUOT, KC_EXLM, KC_ENT,
|
||||||
KC_SLSH, KC_NUBS, KC_CIRC, KX_PIPE, KC_PERC, _______, _______, _______, XXXXXXX, KC_PSCR,
|
KC_LSFT, KC_LCTL, KC_LALT, KC_DEL, KC_ENT, KC_NUHS, KC_LALT, KC_LCTL, KC_LSFT, _______,
|
||||||
_______, _______, _______, KC_DEL, _______, _______, _______, _______, _______, _______, _______, _______
|
XXXXXXX, XXXXXXX, XXXXXXX, KC_BSPC, _______, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
||||||
),
|
),
|
||||||
|
|
||||||
/* R2
|
/* P3: Punctuation (3)
|
||||||
.-----------------------------------. .--------------------.-----------------.
|
.-------.-------.-------.-------.-------. .------.-------.-------.-------.------.
|
||||||
| F12 | F11 | F10 | F9 | Copy | | Home | Up | End | PgUp | Insert |
|
| Esc | | Break | Pscr | ScLk | | < | > | + | _ | = |
|
||||||
|------+------+------+------+-------| |------+------+------+------+----------|
|
|-------+-------+-------+-------+-------| |------+-------+-------+-------+------|
|
||||||
| F8 | F7 | F6 | F5 | Paste | | Left | Down | Right| PgDn | Enter |
|
| Tab | | | Caps | | | [ | ] | * | - | Ent |
|
||||||
|------+------+------+------+-------| |------+------+------+------+----------|
|
|-------+-------+-------+-------+-------| |------+-------+-------+-------+------|
|
||||||
| F4 | F3 | F2 | F1 | Cut | | ^Tab | | Tab | | |
|
| Sft | Ctl | Alt | Del | | | @ | Alt | Ctl | Sft | Sup |
|
||||||
|------+------+------+------+-------+---------+------+------+------+------+----------|
|
'-------'-------'-------+-------+-------+-----. .-----+------+-------+-------'-------'------'
|
||||||
| Shft | Ctrl | Alt | Del | Undo | L1 | R1 | Shft | R2 | Sup | Ctrl | WinRight |
|
| BS | | P3 | | | Sft | |
|
||||||
'------------------------------------------------------------------------------------'
|
'-------'-------'-----' '-----'------'-------'
|
||||||
*/
|
*/
|
||||||
[R2] = LAYOUT(
|
[P3] = LAYOUT(
|
||||||
KC_F12, KC_F11, KC_F10, KC_F9, KX_COPY, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_INS,
|
KC_ESC, XXXXXXX, KC_BRK, KC_PSCR, KC_SLCK, KC_LABK, KC_RABK, KC_PLUS, KC_UNDS, KC_EQL,
|
||||||
KC_F8, KC_F7, KC_F6, KC_F5, KX_PAST, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_ENT,
|
KC_TAB, XXXXXXX, XXXXXXX, KC_CAPS, XXXXXXX, KC_LBRC, KC_RBRC, KC_ASTR, KC_MINS, KC_ENT,
|
||||||
KC_F4, KC_F3, KC_F2, KC_F1, KX_CUT, KCX_LST, XXXXXXX, KC_TAB, XXXXXXX, XXXXXXX,
|
KC_LSFT, KC_LCTL, KC_LALT, KC_DEL, XXXXXXX, KX_AT, KC_LALT, KC_LCTL, KC_LSFT, _______,
|
||||||
_______, _______, _______, KC_DEL, KX_UNDO, _______, _______, _______, _______, _______, _______, KX_WINR
|
XXXXXXX, XXXXXXX, XXXXXXX, KC_BSPC, XXXXXXX, _______, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
||||||
),
|
),
|
||||||
|
|
||||||
/* R3
|
/* NC: Numerals / Cursor control
|
||||||
.----------------------------. .------------------------.
|
.-------.-------.-------.------.-------. .------.-------.-------.------.------.
|
||||||
| RESET | | | | | | | | | | R3 |
|
| 1 | 2 | 3 | 4 | 5 | | Home | Up | End | PgUp | |
|
||||||
|-------+----+-----+----+----| |----+----+----+----+----|
|
|-------+-------+-------+------+-------| |------+-------+-------+------+------|
|
||||||
| | | | | | | | | | | |
|
| 6 | 7 | 8 | 9 | 0 | | Left | Down | Right | PgDn | |
|
||||||
|-------+----+-----+----+----| |----+----+----+----+----|
|
|-------+-------+-------+------+-------| |------+-------+-------+------+------|
|
||||||
| | | | | | | | | | | |
|
| Sft | Ctl | Alt | Del | . | | Ins | Alt | Ctl | Sft | Sup |
|
||||||
|-------+----+-----+----+----+---------+----+----+----+----+----|
|
'-------'-------'-------+------+-------+-----. .-----+------+-------+-------'------'------'
|
||||||
| | | | | | | | | | | | |
|
| BS | BA | | | | Sft | |
|
||||||
'---------------------------------------------------------------'
|
'------'-------'-----' '-----'------'-------'
|
||||||
*/
|
*/
|
||||||
[R3] = LAYOUT(
|
[NC] = LAYOUT(
|
||||||
RESET, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______,
|
KC_1, KC_2, KC_3, KC_4, KC_5, KC_HOME, KC_UP, KC_END, KC_PGUP, XXXXXXX,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
KC_6, KC_7, KC_8, KC_9, KC_0, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, XXXXXXX,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
KC_LSFT, KC_LCTL, KC_LALT, KC_DEL, KC_DOT, KC_INS, KC_LALT, KC_LCTL, KC_LSFT, _______,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
XXXXXXX, XXXXXXX, XXXXXXX, KC_BSPC, TO(BA), XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
||||||
|
),
|
||||||
|
|
||||||
|
/* FV: Function keys / Cursor control (Vim)
|
||||||
|
.-------.------.-------.-----.-------. .------.-------.-----.-------.------.
|
||||||
|
| F1 | F2 | F3 | F4 | F5 | | 0 | K | $ | Ctl-B | |
|
||||||
|
|-------+------+-------+-----+-------| |------+-------+-----+-------+------|
|
||||||
|
| F6 | F7 | F8 | F9 | F10 | | H | J | L | Ctl-F | |
|
||||||
|
|-------+------+-------+-----+-------| |------+-------+-----+-------+------|
|
||||||
|
| Sft | Ctl | Alt | F11 | F12 | | | Alt | Ctl | Sft | Sup |
|
||||||
|
'-------'------'-------+-----+-------+-----. .-----+------+-------+-----'-------'------'
|
||||||
|
| BS | BA | | | | Sft | |
|
||||||
|
'-----'-------'-----' '-----'------'-------'
|
||||||
|
*/
|
||||||
|
[FV] = LAYOUT(
|
||||||
|
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_0, KC_K, KC_DLR, LCTL(KC_B), XXXXXXX,
|
||||||
|
KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_H, KC_J, KC_L, LCTL(KC_F), XXXXXXX,
|
||||||
|
KC_LSFT, KC_LCTL, KC_LALT, KC_F11, KC_F12, XXXXXXX, KC_LALT, KC_LCTL, KC_LSFT, _______,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, KC_BSPC, TO(BA), XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
||||||
|
),
|
||||||
|
|
||||||
|
/* RS: Reset
|
||||||
|
.-------.------.-------.-----.-------. .------.-------.-----.-------.------.
|
||||||
|
| RESET | | | | | | | | | | |
|
||||||
|
|-------+------+-------+-----+-------| |------+-------+-----+-------+------|
|
||||||
|
| | | | | | | | | | | |
|
||||||
|
|-------+------+-------+-----+-------| |------+-------+-----+-------+------|
|
||||||
|
| | | | | | | | | | | |
|
||||||
|
'-------'------'-------+-----+-------+-----. .-----+------+-------+-----'-------'------'
|
||||||
|
| | BA | | | | | |
|
||||||
|
'-----'-------'-----' '-----'------'-------'
|
||||||
|
*/
|
||||||
|
[RS] = LAYOUT(
|
||||||
|
RESET, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, TO(BA), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
enum layers {
|
enum layers {
|
||||||
BA, // Base (Balance Twelve mirror varian)
|
BA, // Base (Balance Twelve mirror variant)
|
||||||
P1, // Punctuation (1)
|
P1, // Punctuation (1)
|
||||||
P2, // Punctuation (2)
|
P2, // Punctuation (2)
|
||||||
P3, // Punctuation (2)
|
P3, // Punctuation (2)
|
||||||
|
|
Loading…
Reference in a new issue