secondaryaction:
setLedTxt 0 MAX
holdLayer mod
setLedTxt 1 MAX
break
However, when I hold down the corresponding key, it never activates the secondary action. Instead I just get a backspace.
So I then made sure I set up the configuration in $onInit:
set secondaryRole.advanced.timeout 250
set secondaryRole.advanced.timeoutAction secondary
set secondaryRole.advanced.triggerByRelease true
set secondaryRole.advanced.safetyMargin 50
Still does not work. What am I doing wrong? I had to go back to resolveSecondary.
Also, with above code you should be getting an error. (Which is a bug and you should not be getting it, but it still is concerning that you are just ignoring thrown errors.)
Maybe it would be beneficial if in addition to the text ERR, the triangle led is turned on and stays lit, even if the text is overwritten. I don’t even remember what the triangle was for.
If you don’t have adaptive mode yet, why not use the triangle as an “alarm” icon? When adaptive mode finally arrives, use a constantly lit triangle for adaptive mode and a flashing triangle for error.
Ah, that explains why I also was not able to change the macro – just did not find the time to report yet. When do you plan the new release? There is no (easy) way to get the current master earlier, is it?
I have the same issue, but I was strapped for time, and I thought I was missing something to work it out. Thanks @maexxx for share this issue, and thanks @kareltucek for the good work, you’re the best.