I’m adapting my old model 01 sketch to my new model 100. Ironed out the major issues (mostly just changes with the times) and am using the new keyboard to type this, but 3 things:
I get the problem another person posted earlier, where LEDcontrol has no headers files (but it still compiles and I still appear to be able to control LED effects.
I have a leader key that would start sequences like Leader - A would result in full stop, spacebar, Capital A. This doesn’t work, nothing is output. I thought that may be broken because I use it as the tapped part of a qukey, but it worked that way previously and all my other qukey combinations seem to be fine. Instead of doing what I expect, the leader key and the following key (like the A in my example) are swallowed, and the next key I press is executed normally.
All of my macros execute twice. I have no idea why that might be. Version Info works as normal, the Any macro seems to work fine. All the ones that are repeating are of this form:
(after “auto &serial_port = Kaleidoscope.serialPort();”, that is).
Is the F() part still relevant/needed? I’ve taken it out from my code anyway (I had it in before, since I went from Arduino’s example initially) and it still doesn’t function, still swallows the leader sequence keys. Either way, that should probably be made consistent across the docs.
Either works. F() is pretty much a no-op on the Model100 as far as I recall, it’s mostly an optimization for AVR, that tells the compiler to put the string in PROGMEM, without a copy in RAM. That’s not very relevant on the Model100.