I want to use the spacemouse pro in my application create by Unreal Engine 4. So the window of my application isn't a hWndMain.
Is it possible to have a code example without windows dependency ?
Like this :
Code: Select all
#include "si.h"
#include "siapp.h"
int main(int argc, char* argv[])
{
SiInitialize();
SiOpen(0x046d);
while(1)
{
e = SiGetEvent();
printEventOnConsole(e);
}
}
Robin