Click to view our Accessibility Statement or contact us with accessibility-related questions
Showing 1 of 2438 conversations about:
ahilo
4
Nov 18, 2015
bookmark_border
@Iaeen i'm not sure about that, maybe there is something i'm doing wrong. the online configurator doing it well and i think it's compiling with the controller will you try compiling that?
Nov 18, 2015
Iaeen
277
Nov 19, 2015
bookmark_border
ahiloI can confirm that Function keys will not compile on partial layers using the controller firmware. I just tried adding a Function key to a layer on the current version of my firmware and got an error. When I replaced the U"Function4" with U"A" it compiled normally. I'll open an issue on github and see what HaaTa says. (EDIT: Never mind, someone beat me to it. https://github.com/kiibohd/controller/issues/74)
For reference, here is the error I got:
In file included from ../../Macro/PartialMap/macro.c:30:0: ./generatedKeymap.h:226:27: error: ‘KEY_FUN4’ undeclared here (not in a function) Guide_RM( 77 ) = { 1, 14, KEY_FUN4, 0 }; ^ make[2]: *** [CMakeFiles/kiibohd.elf.dir/Macro/PartialMap/macro.c.o] Error 1 make[1]: *** [CMakeFiles/kiibohd.elf.dir/all] Error 2 make: *** [all] Error 2
Nov 19, 2015
Iaeen
277
Nov 19, 2015
bookmark_border
ahiloOK, with the help of TMK, I have developed a workaround. You have to include the stdFuncMap as a modification to the partial maps. Example, If I want to include function or lock keys on my numpad layer, I need to define it like this in the ergodox.bash script:
PartialMaps[1]="mdergo_numpad stdFuncMap"
Apparently, the kll compiler assumes you want access to the function keys only on the defaultMap, so an explicit call to stdFuncMap is unnecessary. For partial maps, it appears the assumption is that you won't be using function keys, so the compiler does not include them automatically.
Also note, this workaround breaks default lcd functionality. The layers will work, but any use of a function key defined on a partialMap will not update the lcd with the layer activated by that key (function keys defined on the defaultMap still work fine with the lcd).
Nov 19, 2015
View Full Discussion
Related Products