Ergodox
HEATMAP
Esc
↓
Backspace
↓
↑
Space
↑
Space
Coder Layer
⬇ ⬇ ⬇ ⬇
L2
↘
ALSO:
DVORAK
Pictured: Some other guy called Dvorak
algernon/ergodox-layout
# Makefile
KEYLOGGER_ENABLE = yes
AUTOLOG_ENABLE ?= yes
...
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# keymap.c
#if KEYLOGGER_ENABLE
# ifdef AUTOLOG_ENABLE
bool log_enable = true;
# else
bool log_enable = false;
# endif
#endif
# keymap.c
bool process_record_user(
uint16_t keycode,
keyrecord_t *record
) {
#if KEYLOGGER_ENABLE
# do the actual stuff here
#endif
return true;
}
# keymap.c
if (log_enable) {
uint8_t layer = biton32(layer_state);
if (layer == BASE) {
uprintf(
"KL: col=%02d, row=%02d, pressed=%d, layer=%s\n",
record->event.key.row,
record->event.key.col,
record->event.pressed,
"QWERTY"
);
}
}
$ sudo hid_listen
[sudo] password for naps62:
Waiting for device:
Listening:
KL: col=01, row=02, pressed=0, layer=QWERTY
KL: col=11, row=02, pressed=0, layer=QWERTY
KL: col=02, row=02, pressed=0, layer=QWERTY
KL: col=09, row=02, pressed=1, layer=QWERTY
KL: col=03, row=02, pressed=0, layer=QWERTY
KL: col=09, row=02, pressed=0, layer=QWERTY
KL: col=00, row=02, pressed=1, layer=QWERTY
KL: col=03, row=02, pressed=1, layer=QWERTY
KL: col=03, row=02, pressed=0, layer=QWERTY
...
algernon's heatmap:
Ergodox Heatmap
By Miguel Palhas
Ergodox Heatmap
- 803