Generate heatmap and statistics for your ErgoDox EZ typing. This is useful when getting started, both for finding issues with your keymap, and for motivation when you see your key counts ;)
- Works on Windows and macOS. But only
hid_listenand the browser launching is OS-specific and can also be made to work on e.g. Linux. - Requires keycode tracing added to your firmware:
patch keymap.c trace_codes.patch
- Enabling the debug console in
rules.mk:
CONSOLE_ENABLE = yes
-
Compiling and flashing your firmware
-
Run
launch.py. This will log keycodes tologsdirectory and should be kept running. -
In
gen_heatmap.py, adjustLAYER_NAMESfor your map and changeBROWSER -
At any time, run
gen-heatmap.pyto see the current heat maps and statistics in the browser. For each layer, two heatmaps are shown:- Relative to all key presses
- Relative to all key presses within the layer
-
build.shcontains an example build script that automatically applies the patch, uses ergodox-compress-keymap for reducing the firmware size, compiles the firmware and runs Wally. Adjust paths for your setup. -
Thanks to naps62 for the ErgoDox EZ svg!
-
Note that this is not a key logger, since only key codes are logged. That said, together with your keymap it becomes a key logger. So treat with the appropriate care.