Skip to content

Commit cda5d4f

Browse files
Gastón Jorquerafauxparkgjorquera
authored andcommitted
[Keymap] Add Gaston's Lily58 custom keymap (qmk#14334)
Co-authored-by: Ryan <[email protected]> Co-authored-by: Gaston Jorquera <[email protected]>
1 parent 9550dc9 commit cda5d4f

File tree

4 files changed

+160
-0
lines changed

4 files changed

+160
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* Copyright 2012 Jun Wako <[email protected]>
2+
* Copyright 2015 Jack Humbert
3+
* Copyright 2021 Gaston Jorquera
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU General Public License as published by
7+
* the Free Software Foundation, either version 2 of the License, or
8+
* (at your option) any later version.
9+
*
10+
* This program is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
* GNU General Public License for more details.
14+
*
15+
* You should have received a copy of the GNU General Public License
16+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
*/
18+
19+
/* This is the c configuration file for the keymap. */
20+
21+
#pragma once
22+
23+
#define MASTER_LEFT
24+
25+
#define TAPPING_FORCE_HOLD
26+
#define TAPPING_TERM 150 /* ms */
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/* Copyright 2021 Gaston Jorquera
2+
*
3+
* This program is free software: you can redistribute it and/or modify
4+
* it under the terms of the GNU General Public License as published by
5+
* the Free Software Foundation, either version 2 of the License, or
6+
* (at your option) any later version.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* You should have received a copy of the GNU General Public License
14+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
*/
16+
17+
/* This is the keymap configuration. */
18+
19+
#include QMK_KEYBOARD_H
20+
21+
enum layer_number {
22+
_QWERTY = 0,
23+
_LOWER,
24+
_MOUSE,
25+
};
26+
27+
#define EN_LOWER LT(_LOWER, KC_SPC)
28+
#define EN_MOUSE MO(_MOUSE)
29+
30+
/* See the readme.md file for an ASCII representation of this keymap. */
31+
32+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
33+
34+
[_QWERTY] = LAYOUT(
35+
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
36+
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
37+
KC_LCTRL,KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
38+
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, EN_MOUSE,KC_EQL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
39+
KC_RALT, KC_LALT, KC_LGUI, EN_LOWER,EN_LOWER, KC_LBRC, KC_RBRC, KC_BSLS
40+
),
41+
42+
[_LOWER] = LAYOUT(
43+
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
44+
XXXXXXX, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, KC_HOME, KC_PGDN, KC_PGUP, KC_END, XXXXXXX, KC_F12,
45+
XXXXXXX, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX, XXXXXXX,
46+
XXXXXXX, XXXXXXX, XXXXXXX, KC_BRID, KC_BRIU, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_INS, KC_DEL, XXXXXXX, XXXXXXX, XXXXXXX,
47+
XXXXXXX, XXXXXXX, XXXXXXX, KC_TRNS, KC_TRNS, XXXXXXX, XXXXXXX, XXXXXXX
48+
),
49+
50+
[_MOUSE] = LAYOUT(
51+
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
52+
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_BTN1, KC_BTN2, XXXXXXX, XXXXXXX, KC_ACL0, XXXXXXX,
53+
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_ACL1, XXXXXXX,
54+
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_TRNS, XXXXXXX, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_ACL2, XXXXXXX,
55+
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
56+
)
57+
58+
};
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Gaston's Lily58 Keymap
2+
3+
A simple three layers keymap to improve typing performance by reducing
4+
cognitive load.
5+
6+
The main characteristics of this keymap are:
7+
8+
* The QWERTY layer tries to be as normal as possible, without having to use
9+
modifiers.
10+
* The main thumb buttons are spaces when tapped and enable the LOWER layer
11+
when held.
12+
* Vim style arrow keys.
13+
* Left and right ALT in case you need different behaviors. (For example, the
14+
default Option and readline's Alt behavior in macOS.)
15+
* The LOWER layer has mostly meta keys.
16+
* The MOUSE layer controls the mouse.
17+
18+
## QWERTY Layer
19+
20+
```plain
21+
,-----------------------------------------. ,-----------------------------------------.
22+
| ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BSPC |
23+
|------+------+------+------+------+------| |------+------+------+------+------+------|
24+
| TAB | Q | W | E | R | T | | Y | U | I | O | P | - |
25+
|------+------+------+------+------+------| |------+------+------+------+------+------|
26+
|LCTRL | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
27+
|------+------+------+------+------+------| MOUSE | | = |------+------+------+------+------+------|
28+
| LSFT | Z | X | C | V | B |-------| |-------| N | M | , | . | / | ENT |
29+
`-----------------------------------------/ LT / \ LT \----------------------------------------'
30+
| RALT | LALT | LGUI | / LOWER / \ LOWER \ | [ | ] | \ |
31+
| | | |/ SPC / \ SPC \ | | | |
32+
`----------------------------' '-----------------------------'
33+
```
34+
35+
## LOWER Layer
36+
37+
```plain
38+
,-----------------------------------------. ,-----------------------------------------.
39+
| ESC | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
40+
|------+------+------+------+------+------| |------+------+------+------+------+------|
41+
| | | MUTE | VOLD | VOLU | | | HOME | PGDN | PGUP | END | | F12 |
42+
|------+------+------+------+------+------| |------+------+------+------+------+------|
43+
| | | MPRV | MPLY | MNXT | |-------. ,-------| LEFT | DOWN | UP | RGHT | | |
44+
|------+------+------+------+------+------| | | |------+------+------+------+------+------|
45+
| | | | BRID | BRIU | |-------| |-------| | INS | DEL | | | |
46+
`-----------------------------------------/ / \ \----------------------------------------'
47+
| | | | / TRNS / \ TRNS \ | | | |
48+
| | | |/ / \ \ | | | |
49+
`----------------------------' '-----------------------------'
50+
```
51+
52+
## MOUSE Layer
53+
54+
```plain
55+
,-----------------------------------------. ,-----------------------------------------.
56+
| | | | | | | | | | | | | |
57+
|------+------+------+------+------+------| |------+------+------+------+------+------|
58+
| | | | | | | | BTN1 | BTN2 | | | ACL0 | |
59+
|------+------+------+------+------+------| |------+------+------+------+------+------|
60+
| | | | | | |-------. ,-------| MS_L | MS_D | MS_U | MS_R | ACL1 | |
61+
|------+------+------+------+------+------| TRNS | | |------+------+------+------+------+------|
62+
| | | | | | |-------| |-------| WH_L | WH_D | WH_U | WH_R | ACL2 | |
63+
`-----------------------------------------/ / \ \----------------------------------------'
64+
| | | | / / \ \ | | | |
65+
| | | |/ / \ \ | | | |
66+
`----------------------------' '-----------------------------'
67+
```
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MOUSEKEY_ENABLE = yes
2+
EXTRAKEY_ENABLE = yes
3+
RGBLIGHT_ENABLE = no
4+
OLED_ENABLE = no
5+
6+
SRC += ./lib/rgb_state_reader.c \
7+
./lib/layer_state_reader.c \
8+
./lib/logo_reader.c \
9+
./lib/keylogger.c \

0 commit comments

Comments
 (0)