r/Keychron • u/Barristerbluegrass • Feb 26 '24
Macro Memory Full
Needed a macro keyboard/pad for work due to repetitive text entries/click. Picked up a C3 Pro from Amazon, but am only able to use half of the macro spaces due to the memory filling up. Anyone know if any of the other Keychain keyboards have larger onboard memory than the C3 Pro?
7
Upvotes
1
u/Barristerbluegrass Feb 26 '24
Thanks for all the suggestions. Auto hot keys isn’t an option as I can’t install software on my work computer. I’d prefer not to have to modify config files if possible. Is anyone aware of any retail options that address this issue? I’m still well within my return window for Amazon. Doesn’t have to be a full keyboard, really just need 12 or so macro buttons with enough memory space.
1
u/MBSMD Feb 26 '24
How large are your macros, just out of curiosity?
3
u/LlaughingLlama Feb 26 '24
This isn't the answer to your question, but it is what I would do (and sort of am doing) in your situation. If you're using Windows like I am, I would propose using AutoHotKey as your macro engine, and then just use the Keychron macros to program "fairly unique keypresses" which AutoHotKey can sense and then use as triggers.
For example, I would make the KeyChron macros to program F1 to be "Control-Alt-F13", F2 to be "Control-Alt-F14" and so on. That'll take up 12 of the 16 Keychron Macro slots, and each slot will be nice and short/small. Have AutoHotKey macros (which can be quite complicated) fire when they see Control-Alt-F13.
Want to double those? Use the Shift key as a modifier, so when you press Shift-F1, it will be sensed as Control-Alt-Shift-F13, and so on.
I don't know what the Mac equivalent to AutoHotKey is, but I'm sure there must be one.
Good luck!
1
u/PeterMortensenBlog V Mar 02 '25 edited Mar 02 '25
What variant of the C2 Pro? Red light? White light? RGB light?
The source code—required for increasing the space for macros—for both the original C2 Pro (red light) and C2 Pro V2 is now in the main QMK repository.
A (hypothetical) compile service would make it much easier (#1 and #2).
1
u/pnetmon Feb 26 '24
you can try to compile the firmware with fewer layers, lighting, functions
1
u/PeterMortensenBlog V Feb 26 '24 edited Feb 26 '24
This is very much possible, but it requires changing the source code, compiling, and flashing the keyboard. See e.g. this and this.
Though the source code may not have been released yet. It should happen in a few weeks. Or is it somewhere else than the Git branch "wireless_playground" in Keychron's fork? The source code for C1 Pro and C2 Pro is in the official Keychron repository. It can be difficult to navigate the repositories, different forks of the repositories, forks of forks of the repositories, and different Git branches within them.
Essentially, if it exists, change this line in config.h,
to
for a more than a ten-fold increase in the total space for macros.
20480 is an example. I don't know what the actual limit is. If it really needs to be backed by RAM, then there might be trouble as this would consume 40 KB RAM. Perhaps decrease WEAR_LEVELING_BACKING_SIZE from 2 to 1? Presumably, there would be a warning at compile time. Or hasn't it been implemented for the ARM microcontrollers?
Compile and flash.
References