-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting a combination result #12
Comments
Hmm, that looks valid (minus the missing semicolon at the end). |
Below is the error text I get as well is the problem KLL file Scanning dependencies of target kiibohd.elf Name = "MDErgo1"; U"ESC" : U"6"; |
It doesn't like the U"KEY_LCK5" is this something you've defined elsewhere? Because it isn't a standard name. Do you mean U"LOCK5" instead? layerLock(5) would also work. |
I kind of learned that notation from reading output kll files from the configuration. I replaced it with layerLock(5) and it works. This is kind of weird, because U"LCK5" works fine when I don't have the LED function after it. It also continued with the error if I input U"Lock5". only works with the explicit layerLock(5) text. Thanks for the tip. |
If you want to use the U"Lock5" you have to include stdFuncMap.kll or lcdFuncMap.kll in that layer (it does a symbolic replacement). https://github.com/kiibohd/kll/blob/master/layouts/lcdFuncMap.kll |
Is there a way to set a combination result to be USB code along with a capability function? I want to trigger a layer lock and turn off leds when pressing the key, but I get an error when compiling the following line:
U"MINUS" : U"LCK5" + ledControl(5,0,0)
The text was updated successfully, but these errors were encountered: