Yes, it is. Plug both joysticks in, open Project Apollo Configurator, click there on "Create Config Files" button.
View attachment 34279
That will create the appropriate config files in Config\ProjectApollo\Vesim folder, if you have two controllers attached to the computer then there will be four new files created with names like "CSM - One of your joysticks name.launchpad.cfg". In these files all the available actions are given (these sets are differing for LM and CM), all of them are unassigned. Your task is to edit these files to map the available joystick axes/buttons to the actions up to your discretion. For example if you want to use stick #1 for controlling rotation, and stick #2 for translation, set up the RHC lines in "CSM - joystick #1.launchpad.cfg" to something like (use some joystick tester tool to find out which axes your device is connected to):
Code:
RHC Roll Axis Axis X FALSE
RHC Pitch Axis Axis Y FALSE
RHC Yaw Axis Axis Z FALSE
and leave other lines unchanged.
Similarlty, for the other joystick change the THC lines "CSM - joystick #2.launchpad.cfg" as
Code:
TTCA X Axis Axis Z FALSE
TTCA Y Axis Axis X FALSE
TTCA Z Axis Axis Y FALSE
You may have to reverse the direction for some of the THC axes (when CSM goes into the opposite direction on joystick movement), you can do this by simply changing the fourth field in the given row from "FALSE" to "TRUE".
VESIM is currently a part of the NASSP and serves only the LM and CSM, but obviously my original intention was to integrate it also with other vessels (SSU, I'm looking at you
). Also I considered to make it as a standalone library where vessel developers can do this integration job on their own (that's why I named it as "module"). Anyway, VESIM is written in a way that it's code is fairly vessel independent, I think the only NASSP specific thing in vesim.cc is the explicit reference to the config file directories. However I'm pretty much lack on free time, so it will not be in near future when I can port VESIM to any other vessel - but it is under GPL, so I'd be more than happy to give every help to someone who want to further develop it.