an approachable 60%-like QMK keymap for the Lily58 Pro RE
there are three layers: default (qwerty), lower and adjust.
see layout for a visual representation of the keymap.
-
default (qwerty) layer
this is the default layer, which is active when no other layer is active.
to access the other layers, you need to hold down the
LOWER
key. -
lower layer
gives acess to variations of keys unable to fit in the default layer.
- numbers 1-8 turn into function keys 1-8.
- number 9 turns into
{
. (using(
as a mnemonic - remember the bracket!) - number 0 turns into
}
. (using)
as a mnemonic - remember the bracket!) - backspace turns into delete.
- key
/
turns into\
. (using/
as a mnemonic - remember the line!)
access the layer by holding the
LOWER
key. -
adjust layer
gives access to all function keys, arrow keys,
MENU
key, caps lock, mouse control, controller reset and numpad.access the layer by holding
LOWER
+ADJUST
. (theADJUST
key is only accessible in the lower layer.)you can toggle the layer on by double tapping
ADJUST
, while holding downLOWER
. if toggled, you can exit the layer by pressingESC
.
,-----------------------------------------. ,-----------------------------------------.
| ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bspc |
|------+------+------+------+------+------| |------+------+------+------+------+------|
| Tab | Q | W | E | R | T | | Y | U | I | O | P | = |
|------+------+------+------+------+------| |------+------+------+------+------+------|
|LShift| A | S | D | F | G |-------. ,-------| H | J | K | L | ; | - |
|------+------+------+------+------+------| | | |------+------+------+------+------+------|
|LCTRL | Z | X | C | V | B |-------| |-------| N | M | , | . | / | ' |
`-----------------------------------------/ / \ \-----------------------------------------'
|LOWER | LGUI | LAlt | /Space / \Space \ |Enter | RAlt |LOWER |
| | | |/ / \ \ | | | |
`----------------------------' '------''--------------------'
,-----------------------------------------. ,-----------------------------------------.
| ESC | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | { | } | DEL |
|------+------+------+------+------+------| |------+------+------+------+------+------|
| | | | | | | | | | | | | |
|------+------+------+------+------+------| |------+------+------+------+------+------|
| | | | | | |-------. ,-------| | | | | | |
|------+------+------+------+------+------| | | |------+------+------+------+------+------|
| | | | | | |-------| |-------| | | | | \ | |
`-----------------------------------------/ / \ \-----------------------------------------'
| | | | /ADJUST / \ADJUST\ | | | |
| | | |/ / \ \ | | | |
`----------------------------' '------''--------------------'
,-----------------------------------------. ,-----------------------------------------.
|QWERTY| F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | |
|------+------+------+------+------+------| |------+------+------+------+------+------|
| Tab | F11 | F12 | M1 | MUp | M2 | | | Up | | 7 | 8 | 9 |
|------+------+------+------+------+------| |------+------+------+------+------+------|
|CapsLk|LShift| |MLeft |Mdown |MRight|-------. ,-------| Left | Down |Right | 4 | 5 | 6 |
|------+------+------+------+------+------| Reset | | Reset |------+------+------+------+------+------|
|LCTRL | | |MAccl0|MAccl1|MAccl3|-------| |-------| | | | 1 | 2 | 3 |
`-----------------------------------------/ / \ \-----------------------------------------'
| MENU | LGUI | LAlt | / / \ \ |Enter | RAlt | 0 |
| | | |/ / \ \ | | | |
`----------------------------' '------''--------------------'
-
left encoder
- clockwise rotation: scroll wheel down
- counter-clockwise rotation: scroll wheel up
- press (adjust layer): reset
-
right encoder
- clockwise rotation: volume up
- counter-clockwise rotation: volume down
- press (adjust layer): reset
this keymap is very bare bones, because that's all I need. there's no userspace here.
want underglow? rgb? look around for a config you like and add their respective sections
to config.h
, keymap.c
and rules.mk
.
you will need qmk-cli.
-
clone the repository if you haven't yet:
git clone https://github.com/markjoshwel/fluffy58.git --recurse-submodules
-
build!
make build
nix/devbox users can use devbox to build the keymap:
devbox run make
Warning
while one of the sides is powered, at any point do not plug in or out the TRRS cable! doing so might cause an irreversible electric fault.
either build a .hex file yourself or grab one from the releases page.
flash one side at a time, separately and NOT connected to each other.
for more information on flashing in general, see https://docs.qmk.fm/#/newbs_flashing.
-
open QMK Toolbox., select the .hex file you want to flash and enable auto-flash.
-
get your Lily58 into dfu/bootloader mode:
-
flashing from the fluffy58 keymap:
press
Reset
by holding downLOWER
+ADJUST
, and pressing down any of your two rotary encoders. -
flashing for the first time/from another keymap without a
Reset
or similar key:on your Lily58, short the RESET holes on the pcb. you can use a pair of tweezers or something similar to do this.
however, if the RESET holes are not accessible, you can directly short the RESET and GND pins on your controller. see your controller's pinouts for this.
your controller should now enter DFU mode, shortly after which QMK Toolbox will recognise your controller and flash the hex file.
-
-
et voilà! you're done. repeat for the other side.
Note
windows users: use the QMK WSL2 distro.
-
clone the repository:
git clone https://github.com/markjoshwel/fluffy58.git --recurse-submodules
-
flash the left side:
make BOOTLOADER=avrdude flashl
-
flash the right side:
make BOOTLOADER=avrdude flashr
notes:
- change
BOOTLOADER=avrdude
if necessary, however is not needed and can be omitted if usingavrdude
. make flash
will not flash with a-bl $(BOOTLOADER)-split-left/right
argument- optionally run
make clean
if you want to tidy up the repository