Binuraj Posted June 6, 2016 Share Posted June 6, 2016 Hi, I'm unable to initialize ControlsJoystick class in C# project as - ControlsJoystick joystick = new ControlsJoystick(); or ControlsJoystick joystick = new ControlsJoystick(0); It is throwing below error - 'Unable to find an entry point named ControlsJoystick_create in DLL UnigineWrapper_x64.dll' or 'Unable to find an entry point named ControlsJoystick_create_1 in DLL UnigineWrapper_x64.dll' Tried the same with ControlsXPad360, same error. Am I missing something? Is joystick not supported in a C# project? Link to comment
ded Posted June 6, 2016 Share Posted June 6, 2016 Hi, It seems there is currently no way to use ControlsJoystick and ControlsXPad360 via C# API without re-compiling UnigineWrapper. Also you'll have to define USE_JOYSTICK and USE_XPAD360 in order to use them via C++. Thank you for pointing this out to us. As a temporary workaround until future releases you can use UnigineScript API to access ControlsJoystick and ControlsXPad360 functionality. We are sorry for the inconvenience caused. Link to comment
Binuraj Posted June 6, 2016 Author Share Posted June 6, 2016 Thank you Maxim. I hope this is fixed in the next release. Link to comment
Recommended Posts