Hmmm. I'll give it a go.
Another problem I'm having though, is if I want to use the key constants such as KEY_SHOOT_FULL etc from within a different source file, what includes do I need to use? Since different cameras have different constants I can't just include keyboard.h can I? But I can't work out how the different platform declarations are used for different builds.
Sorry my c programming is a little rusty.