I have created a simple Mechatronics Concept Designer addon that allows you to connect a Microsoft Xbox 360 Gamepad/Joystick to control basicly any MCD simulation in real time.
What is required?
copy this files:
into the following path: "<Your NX11 Install Path>/nxbin/managed/"
It should look like in the following picture:
After driver Installation & coping of the SharpDX files, start the example assembly (_NX11_ASM_MCD_VakuumGripper_GamepadControl_Sample.prt), connect your gamepad to you computer (make sure the upper left led in the center is glowing consistently and hit "Play" in MCD.
You can use the included "_NX11_MCD_Template_ControllerInput.prt" file in any MCD assembly to connect your MCD elements to the Gamepad inputs (digital & analog buttons) and outputs (motors for vibration).
Have Fun & Enjoy MCD!
Special Thanks to Alexandre Mutel for creating SharpDX!
I followed the instructions as shown in your example but am unable to have the controller connect. The controller is seen and can be tested in Windows 10. Do I need to register the provided dll's other than putting them in the NX directory? I do not receive any errors from NX when playing it.
Thanks in advance,
have you tried to reinstall the Windows drivers for the gamepad?
For me it works on Windows 10 just fine.
Could you share the logfile after running the simulation with the gamepad input.