I'm trying to get OIS work with D. I'm making an OIS wrapper from C++ to C to D.
The problem is, I have to pass an OIS::KeyCode
enum to C, but I don't know how. I could just copy it but it seems to me much more sane not copying it.
EDIT: OIS has MouseButtonID and KeyCode, both of them are in the OIS namespace, how do I translate that into C for passing it later to D?