1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Feeding multiple controllers into the Joystick Plugin

Discussion in 'SimTools Plugins' started by MarkusB, Oct 8, 2020.

  1. MarkusB

    MarkusB Well-Known Member Gold Contributor

    Joined:
    Jun 30, 2015
    Messages:
    552
    Location:
    Germany
    Balance:
    4,212Coins
    Ratings:
    +594 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    Today I started dealing with the Joystick Plugin for the very first time, because I urgently needed to get motion to Star Wars Squadrons as well as Lunar Flight. (The latter one once had a plugin, but it does not work anymore.)

    My controller hardware consists of Thrustmaster Warthog stick & throttle as well as MFG Crosswind rudder pedals, and I wanted to use all three of them for triggering rig movements.

    After searching the Internet a little bit, I found the Universal Control Remapper (UCR), which can be downloaded as a zip file from here: https://github.com/snoothy/ucr/releases

    This tool is already briefly mentioned in some threads of this forum, but in my opinion it deserves a bit more attention because it is very easy to use and fulfilled my requirements completely.

    UCR allows you to define multiple controllers as input devices and map them onto a single output controller, which is exactly what you need for the Joystick Plugin. And this can be done in a very easy way via a graphical UI. (UCR also provides some sophisticated configuration options like creating new "providers", but these were not needed in my case.)

    Here are the steps I performed:
    1. Download and unzip UCR (https://github.com/snoothy/ucr/releases)
    2. Download and install a controller plugin that serves as virtual output device. I took 'ViGEm', which emulates an XBox 360 controller. This plugin is available here: https://github.com/Snoothy/UCR/wiki/Core-Providers
    3. Run "UCR.exe". (No installation is required.)
    4. Click on "Add Profile"
      01 Add Profile.jpg
    5. Select the input and output controllers.
      1. As input devices, I selected my Warthog stick/throttle combination (I have TARGET running, so that both throttle and stick are combined to a virtual game controller), as well as my MFG rudder pedals.
      2. As output, I selected the emulated XBox 360 controller.
        02 Select input and output.jpg
    6. For configuring the stick, I used the "Axes to Axes" mapping: Click on the + button and configure the mapping of the input axes (in my case the X and Y axes of the Warthog stick) to the corresponding output axes (in my case the RX and RY axes of the emulated XBox controller).
      03 Axes mapping.jpg
    7. Proceed with mapping the other axes. Below you see that also my MFG Crosswind pedals could be mapped without any problems.
      04 Rudder mapping.jpg
    8. You can even map buttons of your input devices to corresponding buttons of the output device, if needed.
      05 Button mapping.jpg
    9. Save your config.
    10. Activate your profile via the "Play" button.
      06 Run profile.jpg
      As soon as you do this, your Windows Device Manager will show the emulated output controller, in my case an XBox 360 controller.
      07 Device Manager.jpg
    11. Start your previously installed Joystick Plugin, find the correct controller, and select it.
    12. Make sure that the Game Engine's Tuning Center shows the expected values when you are using your input devices.
    That's all. Maybe this is of some value for some of you.
    • Like Like x 2
    • Winner Winner x 1
    Last edited: Oct 9, 2020
  2. Zippo246

    Zippo246 Member

    Joined:
    Nov 12, 2017
    Messages:
    38
    Location:
    Sydney, Australia
    Balance:
    168Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    3DOF, Motion platform
    This could be helpful for me. Star Citizen has decided to not recognise my Xbox controller, but will recognise outputs from a vJoy/joystick gremlin virtual joystick combo. I can't get that combo to work neatly (yet, possibly never) so I will give this a try.
    Thanks, John
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,533
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,022Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 3
  4. hideki

    hideki Active Member

    Joined:
    Feb 3, 2014
    Messages:
    169
    Location:
    Spain
    Balance:
    - 198Coins
    Ratings:
    +51 / 1 / -0
    My Motion Simulator:
    2DOF, SCN5
    Very nice! I use x360ce for that, but this one look bettter
    • Agree Agree x 1
  5. value1

    value1 Nerd SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Jan 9, 2011
    Messages:
    2,184
    Location:
    Zug, Switzerland
    Balance:
    14,495Coins
    Ratings:
    +3,319 / 11 / -1
    My Motion Simulator:
    2DOF, DC motor, JRK, Joyrider
    Great contribution, @MarkusB !
    Thank you for figuring out, how to connect multiple input devices to the plugin and thank you for writing a how-to! Much appreciated :cheers
    • Agree Agree x 1
    • Friendly Friendly x 1
  6. Zippo246

    Zippo246 Member

    Joined:
    Nov 12, 2017
    Messages:
    38
    Location:
    Sydney, Australia
    Balance:
    168Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    3DOF, Motion platform
    Can confirm this works as advertised for my needs with Star Citizen. Thanks for your great help.
    • Like Like x 1