Hi,
>
Also this value will be set manually in the code or is there anyway to set it via some config file/some other way?
here's what you usually do:
#ifndef HAVE_KEYBOARDNAV
#define HAVE_KEYBOARDNAV 0 /* pick your default value */
#endif
This makes sure that HAVE_KEYBOARDNAV is always set to a value, but you can override it at compile time by adding "-DHAVE_KEYBOARDNAV <value>" to the preprocessor flags. Since we're using autotools, you (or someone else :-) would also add an option to
"configure", e.g. "--enable-keyboardnav" and "--disable-keyboardnav".
> What should i do? Change those methods so they're not static anymore?
That's totally fine! Making it non-static just means that other implementation files can use it by forward declaring it (we do this quite a bit in Pd). In your case, you can add the declaration to your header file. Note that there's a risk that evil Pd
external developers will find it, so better add a big disclaimer that the implementation may change anytime :-)
> By the way i wanted to hear more from you guys about the experience when trying the kbdnav prototype! :)
Almost no one commented.
To be honest, I forgot about it because I got sucked up in other things, but I'll try it out when
I have time! Thanks for the reminder!
Christof