Handle Connection Instructions and VRPN Data Integration with UE Guide

MOCUTE-052F Controller

The MOCUTE-052F controller is connected to the computer via Bluetooth. To connect the controller, slide the switch on the side of the controller to the GAME position, power on the controller, and set it to AUTO mode (by default, it is set to AUTO mode out of the factory). Then, on your computer, turn on Bluetooth and connect to the controller device.

MOCUTE-052F Controller Operation Instructions:

Power On: Press and hold the button ,until the indicator light comes on (about 2 seconds), and the system starts. (You need to install the batteries first)

  • Power Off: Press and hold the button, until the indicator light goes off (about 5 seconds), and the system will turn off. Note: If no wireless device is connected after starting up, the system will automatically shut down after 5 minutes; if a wireless device is connected, and no operation is performed for 30 minutes, the system will also automatically shut down.

  • Pairing and Connecting: After starting up, the LED indicator light will flash and automatically enter the wireless pairing mode. Search for the address and name of the joystick (MOCUTE-052F-xxx) and click connect. After a successful connection, the LED indicator light will go off. The next time you start, it will automatically connect to the last paired wireless device.

  • Unpairing: In the shutdown state, hold the key for more than 8 seconds when starting up, the indicator light will flash, at this moment it enters the re-pairing mode and will not automatically connect to the last paired device.

  • Startup Mode (The factory default is AUTO mode).The joystick is automatically set to AUTO mode by default at the factory. Just press the power button to start, the wireless name MOCUTE-x-AUTO will be displayed.

Precautions when using MOCUTE-052F joystick:

  • If abnormal situations lead to inability to turn on or turn off, please remove the batteries and then reinstall them.

  • If you can't connect, please press B+Y+Power button to start the joystick and rotate the joystick two rounds (calibration) before turning it off, this will restore the factory settings.

  • If pairing is abnormal or the wireless name can't be found, turn off the joystick, press the power button for more than 8 seconds until the light flashes, then release, this will cancel and ignore all the wireless pairings on the device and then you can re-pair again.

Motion capture settings:

  • Turn on "VRPN" in software settings , connect the camera for playback.

  • Note: Up to two joysticks can be connected at the same time for joystick and motion capture connections. According to the order of joystick access, the joystick names will be "joystick1" and "joystick2" respectively. The joystick connection must be done on the same computer as the XINGYING software.

Connect VRPN

  • Use the test tool "NokovVrpnClient.exe" to connect the joystick. Run "NokovVrpnClient.exe" in the "NokovVrpnClient" folder. In the PowerShell terminal, type "./NokovVrpnClient.exe joystick1@127.0.0.1",or type "NokovVrpnClient.exe joystick1@127.0.0.1" in the Command Prompt. After pressing the buttons on the joystick or sliding the joystick wheel, the terminal will print out the corresponding relationship and its data for the button. When the terminal has successfully responded to the joystick button, it means that the joystick has successfully connected with XINGYING.

  • Note: Please ensure that the XINGYING software is in the play state when using "NokovVrpnClient.exe";

  • If two joysticks are connected, when connecting the second joystick, change "joystick1" to "joystick2" in the terminal;

  • Button corresponding relationship.

  • Slider Coordinate Description: The coordinate range is 0-65535, with the upper left being the starting coordinates of x and y respectively (0,0).

Joystick Access to UE

  • Click on "Window>LiveLink", add "LiveLinkVRPN Source" in the "LiveLink" window. Now we add the topic for the joystick wheel:

  • In "Connection Settings", do not modify the "IPAddress" by keeping it as default.

  • The frame rate in "Local Update Rate in Hz" should be consistent with the frame rate set in the VR Tracker software.

  • In "Device", enter the name of the joystick you need to connect. For example, if you are connecting the first joystick, then enter "joystick1" here.

  • "Subjectname" represents the subject naming, choose "Analog" for "Type".

  • After all the parameters are set, click add. Now slide the joystick wheel, the theme of the wheel will be successfully added below. Select the theme name of the wheel, click "View Options" on the right, choose "Show Frame Data" in the dropdown menu, "Expand Property Values", and the attributes value will change when you slide the joystick wheel.

  • Adding Button (joystick key position) subject: Please keep the "IPAddress" as default, and the frame rate in "Local Update Rate in Hz" should be consistent with the frame rate set in the VR Tracker software. In "Device", enter the name of the joystick you need to connect. For instance, if you're connecting the first joystick, then enter "joystick1" here. "Subjectname" is for subject naming (please avoid duplicating the wheel topic name), and choose "Button" for "Type" . Click add, then press the joystick button, and the Button topic will be added to the topic list. Select the Button topic, expand the property values, and now when you press the corresponding key, "Property Value 0" will display the number of the key that's pressed. When the key is pressed, the number of "Property Values" will change from 0 to 1.

Create a Blueprint Class

  • Right-click in the Content Browser to create a Blueprint class. Choose to create an "Actor" Blueprint class. Double-click on this "actor" blueprint, then add various nodes in "My Blueprint → Event Tick" . Please note, after adding the two nodes of "Calculate Live Links", select "Button Theme Name" and "Roulette Theme Name" respectively in the "Object" of this node."

  • Following the addition of each node, click on Compile and Save.

(8) Using the Controller in the UE scene

  • Drag the "Actor" Blueprint class from the Content Browser into the UE scene. Click on play. Now, by sliding the controller wheel or pressing different keys, the UE scene will display the Button number, status, and coordinates .


XBOX 360 Controller

The XBOX 360 controller connects to a computer through a USB cable. Insert the USB cable of the XBOX 360 controller into the computer where the XINGYING software is installed. The button mapping for the XBOX 360 controller is as follows:

The usage of the XBOX 360 controller is identical to that of the MOCUTE-052F controller. For specific operating instructions, please refer to the "Section XVII: Controller Connection Instructions and VRPN Data Integration into UE Instructions," steps four to eight.

Last updated