I would like to be able to create bindmaps in my config on startup that has not been allocated by a C module yet.
What do you guys think about adding an auto_allocate (or something like that) to ioncore_do_defbindings that defaults to false? This will make the code behave as always with the options to allocate and create from lua.
Go for it! If this works out I'm not even sure we need the 'auto_allocate' flag, we could just always implicitly create the map if it doesn't exist yet.
Can anybody tell my why it's only allowed to create bindmaps that have been preallocated in C first. https://github.com/raboof/notion/blob/67174dd4865a65b99509365fd2712aa4b38441a0/ioncore/bindmaps.c#L173-L179
I would like to be able to create bindmaps in my config on startup that has not been allocated by a C module yet.
What do you guys think about adding an
auto_allocate
(or something like that) toioncore_do_defbindings
that defaults to false? This will make the code behave as always with the options to allocate and create from lua.