-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
new syntaxRequests/bugs that require new KLL syntaxRequests/bugs that require new KLL syntax
Milestone
Description
-
Firmware/Compiling Origin:
Configurator app produces the error when compiling KLL from configurator-JSON. -
KLL Snippet:
"matrix": [
{
"code": "0x01",
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"layers": {
"0": {
"key": "FN",
"label": "FN"
},
"1": {
"key": "#:flashMode()",
"label": "FLASH"
},
"2": {
"key": "#:animation_control(4)",
"label": "V:RESET"
}
},
"triggers": null
},-
OS:
OSX Mojave -
Version:
Configurator 1.0.0 -
Reproduction Steps:
- set a key to the
FNsymbol, in a JSON file - import to configurator
1.build a KLL file
- Resulting Issue:
An error is thrown
[1/50] Generating KLL Layout
FAILED: generatedKeymap.h kll_defs.h usb_hid.h generatedPixelmap.c kll.json
cd /controller && cmake -E env GITHUB_APIKEY=376423eb012a4587857428bf0bf10ac37415cb99 python3 -m kll --kiibohd-debug --config /controller/Scan/Devices/ISSILed/capabilities.kll /controller/Scan/Devices/MatrixARMPeriodic/capabilities.kll /controller/Scan/Devices/Storage/capabilities.kll /controller/Macro/PartialMap/capabilities.kll /controller/Macro/PixelMap/capabilities.kll /controller/Output/HID-IO/capabilities.kll /controller/Output/USB/capabilities.kll /controller/Debug/latency/capabilities.kll /controller/Debug/led/capabilities.kll /controller/Lib/arm_cortex.kll /controller/Lib/sam.kll --base /controller/Scan/Kira/scancode_map.kll --default /root/.local/share/virtualenvs/Keyboards-41-guJFC/lib/python3.6/site-packages/kll/layouts/stdFuncMap.kll /tmp/tmp.gHvENFpD4L/Kira-Standard-0.kll --partial /root/.local/share/virtualenvs/Keyboards-41-guJFC/lib/python3.6/site-packages/kll/layouts/stdFuncMap.kll /tmp/tmp.gHvENFpD4L/Kira-Standard-1.kll --partial /root/.local/share/virtualenvs/Keyboards-41-guJFC/lib/python3.6/site-packages/kll/layouts/stdFuncMap.kll /tmp/tmp.gHvENFpD4L/Kira-Standard-2.kll --emitter kiibohd --def-output /tmp/tmp.gHvENFpD4L/kll_defs.h --map-output /tmp/tmp.gHvENFpD4L/generatedKeymap.h --hid-output /tmp/tmp.gHvENFpD4L/usb_hid.h --pixel-output /tmp/tmp.gHvENFpD4L/generatedPixelmap.c --json-output /tmp/tmp.gHvENFpD4L/kll.json
ERROR: 'FN' (Layout(name=default)) is an invalid USB HID Code Lookup...
File "/root/.local/share/virtualenvs/Keyboards-41-guJFC/lib/python3.6/site-packages/kll/common/parse.py", line 115, in hidCode
hid_code = int(lookup[match_name], 0)
Invalid dictionary lookup, check syntax.
ERROR: OperationSpecificsStage:parse -> /tmp/kll/tmptmp.gHvENFpD4L@['Kira-Standard-0']_processed.kll:13
ERROR: Invalid stage status 'Incomplete' for 'OperationSpecificsStage'.
ninja: build stopped: subcommand failed.
Error in build. Exiting...
Context
On Mac / OSX keyboards, the lower-left key is "Function", and is ASCII code 63. I am unsure if it should be added to a file like this or if the place to put it is wherever this file has gone.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
new syntaxRequests/bugs that require new KLL syntaxRequests/bugs that require new KLL syntax