Member Since []
1
[OP] 127 views 0 replies Posted by Unknown 8 years ago Mar 29, 2:49 am forums.robertsspaceindustries.com
SpaceNavigator, SpaceMouse Pro, SpaceBall 5000 (USB), SpacePilot (non-Pro) and SpaceExplorer fully supported. For other devices, please read the Ctrl+Alt+B subsection of "How".

Updated: 2015-01-06, last at 7:55am PST.

Requires vJoy 2.0.4 241214 or later!

Changelog:
https://forums.robertsspaceindustries.com/discussion/comment/3874970/#Comment_3874970





How:


Download and unzip Sx2vJoy:
https://github.com/Lasse-B/Sx2vJoy

Download and install the open-source program vJoy:
http://vjoystick.sourceforge.net/site/index.php/download-a-install

Set up a vJoy stick to use as many buttons as your 3DConnexion device has.

Just run Sx2vJoy.exe

Ctrl+Alt+S opens a setup dialog which walks you through setting up your 3DConnexion device in the game of your choice.

Ctrl+Alt+D opens an "audio feedback" setup dialog which helps you to set up your 3DConnexion device in the game of your choice. This is necessary for games that only run in true fullscreen mode as the tooltips shown during the "normal" setup mode only display when a game is running in windowed mode.

It works similarly to telephone computers. Each number you hear designates a step of the setup process:
  • 1 = ready to receive your axis input. Move the handle of your 3DConnexion device or quit the setup process
  • 2 = axis movement detected, you've got 5 seconds to click on the control in the game that you want to assign axis movement to
  • 3 = assign attempt complete, you should see the axis you moved in (1) has appeared in the control field you selected in (2)

  • 4 = setup mode ended

Ctrl+Alt+B enables logging mode for the button IDs. If your 3DConnexion device is not fully supported, knowing which button has which ID makes it possible to assign these buttons to vJoy buttons. Just press each button once, close the dialog by using Ctrl+Alt+B again, then post the content of Sx2vJoy.log here together with the vendor and product IDs of your controller.

To find out these two IDs, you can click on "Start" on the task bar and enter "dxdiag" (followed by hitting the "enter" button) in the input field. On the "Input" tab of the window that appears you'll see a couple of "DirectInput Devices". Scroll down until you see your "Space..." controller, then simply post Vendor and Product IDs here.



Right clicking the tray icon gives you a menu with the following items:

Open Joystick Properties leads you directly to Window's own Game Controller dialog in which you can see how vJoy and your 3DConnexion device work together.

Download Button ID Guides lets you download pictures detailing which button has which ID.

About is for finding out what application that icon belongs to, the version number and the author.

Exit closes Sx2vJoy .

Configuration:

UF6meLX.png

Just run the included Sx2vJoy Config GUI. The info buttons [ i ] give detailed explanations about what each section does. Alternatively, if you don't want to run the GUI for whatever reason, you can take a look at infobox.ini. Not as straightforward as the GUI, but enough to get you started.

Any changes you make in the GUI are saved as soon as you make them, unless a window says otherwise. "Exponent" is a bit of an oddball though. It only saves when set to odd integer, because even integers don't make much sense.

FAQ:


Q: What's the purpose of this when there already is joystick emulation in 3DConnexion's driver?
A: 3DConnexion's drivers and GUI are designed with professional CAD software in mind and don't work too well with games. As there is no GUI to fully customize 3DConnexion's joystick settings, you either have to manually change the configuration .XML files, or you can use Sx2vJoy and use your controller like you would any other joystick.

Q: There's no save button or anything in the Sx2vJoy GUI. How do I apply changes I make?
A: Valid changes are saved automatically at the moment you make them, unless a window says otherwise.

Q: I started Sx2vJoy, but in the game I want to play I get rather uncontrollable spinning.
A: Your game is probably still accessing your 3DConnexion controller directly. Rebind the axes controls in the game's configuration menu using one of Sx2vJoy's two setup modes, which is basically playing back your controller actions with a 5 second delay.

Q: When I start Sx2vJoy's setup mode, my game leaves fullscreen mode and runs in a window. Why?
A: Sx2vJoy is trying to display information that will walk you through the setup process. Unfortunately for the time being this is done through tooltips, which force some games out of fullscreen mode. Luckily though this is a one time process, so once axis setup is complete you can go back to fullscreen mode using Alt+Enter or by restarting the game. (If there is an open source overlay API that works with Direct3D 9 through 11 and / or OpenGL, please let me know.)

Q: What if my game only supports fullscreen mode and does not run in a window? How am I supposed to set up my controls then?
A: Since the process of setting up axes is rather simple, you don't really need the on screen instructions if you follow the steps as outlined under "Ctrl+Alt+D" in the "How" section.

Q: You're a complete stranger and I can't know your intentions. What if your software contains malicious code?
A: You can have a look at the included source code and make your own compilation from it. You can also upload the executables and .dll files to www.virustotal.com and have them checked by 50+ malware scanners, which is what I'd recommend. However there is the possibility that some scanners report malware. Generally speaking, if the overwhelming majority of the scanners say a file is clean, it usually is and the results of the few scanners that do show an alert are just "false positives".