Connect an FrSky Taranis X9D Plus

Summary

When powered ON and then connected to a USB mini B cable (USB 2.0 Mini B), the Taranis can be set to USB Joystick mode, making a direct connection as a game controller. This guide describes the setup for a full 8 axis.

Prerequisites

If you have already installed vJoy, installed Joystick Gremlin, and made a virtual joystick, then skip the block below and start with making a model in memory on your transmitter.

Install vJoy

This makes a virtual joystick for SeligSIM (or for anything else).

  • Unplug all USB gamepads, joysticks, TacCon, and other “R/C” controllers.

  • Download and run vJoySetup.exe. This downloads from github.

Install Joystick Gremlin

This configures what vJoy makes.

Verify Installations

Verify that both vJoy and Joystick Gremlin appear in the Windows Start menu.

Make a vJoy Virtual Joystick

  • From the Start menu, Configure vJoy . This launches vJoyConf.

  • At bottom left, check the checkbox Enable vJoy .

  • You might need to click Add Device , reboot, and once more Start -> vJoy -> Configure vJoy.

  • Check all 8 checkboxes for Axes .

  • Note: Even if you are going to use less than 8 axes, still check all to make vJoy have: 8 axes.

  • Set Number of Buttons to 0.

  • Set POVs to 0.

  • Uncheck the checkbox Enable Effects .

  • Click Apply . Your computer may beep.

  • vJoyConf can be closed.

  • Reboot, if prompted by vJoyConf.

  • Open the Windows Game Controller to see the virtual joystick named vJoy Device.

  • You set up vJoy (image below) one time. This completes your vJoy Device setup.

../_images/vjoy1.png

vJoyConf configuring a virtual joystick with 8 axes, 0 buttons, and 0 hat switches.
This is vJoy Device #1 indicated by the light green tab labeled “1”.

Remaining Instructions

  • The remainder of these instructions include using Joystick Gremlin to remap your controller inputs to vJoy.

Make a Model in Memory

A four channel model was made using the model wizard in OpenTx on the transmitter. Then four more channels were added and assigned the switches below. The SeligSIM channel names were then input as shown. The ordering below is how they appear on the transmitter monitor screen. Depending on how you define your OpenTx model in memory, it may be the same or different than the table below.

Joystick Gremlin is used to create the remapping. Joystick Gremlin forwards your control inputs to vJoy which is what you will select as your USB interface in SeligSIM. The vJoy axis numbers are the final outcome after remapping.

FrSky Taranis X9D Plus
Control Inputs

Monitor

X9D Axes

SeligSIM Function

vJoy Axis mapping

Sticks

CH1

X Axis

Throttle

5

Sticks

CH2

Y Axis

Aileron

8

Sticks

CH3

Z Axis

Elevator

7

Sticks

CH4

X Rotation

Rudder

6

2-Pos Switch (“SF”)

CH5

Y Rotation

Gear

4

3-Pos Switch (“SC”)

CH6

Z Rotation

Flaps

3

3-Pos Switch (“SB”)

CH7

Dial

Reset-To-Home /
Reset-In-Place

2

3-Pos Switch (“SG”)

CH8

Slider

Flight Modes

1

Do not create any mixes, expo, dual rates, etc. You will use the programming (“Computer Radio”) inside SeligSIM.

Connect Your Transmitter

To enter USB joystick mode, first connect your USB cable to your computer. Then turn ON the transmitter, wait, and then connect the USB mini B cable to the back of the transmitter. OpenTx will then prompt you to accept starting in “USB Joystick (HID)” mode. Press the “ENT” button on your transmitter to accept. Depending on your version of OpenTx and changes to the transmitter design, your own connection method may be different (see the Open Tx Manual for reference). When successfully connected, the name will appear in the Windows Game Controller gadget. When making this guide, the name was found to be “FrSky Taranis Joystick” as shown below. All sliders should move in response to your controls (i.e. inputs listed in table above). The buttons will not be used here.

joy.cpl main joy.cpl test

Calibrate the Taranis in Joystick Gremlin

  • Disconnect other USB controllers.

  • From the Windows Start menu, run Joystick Gremlin (hereafter called JG).

  • Create a new Profile in JG. From the JG’s menu, choose File -> New Profile .

  • From JG’s menu, choose Tools -> Calibration . A calibration window appears.

  • From top dropdown, choose the FrSky Taranis Joystick (if not already chosen).

  • Move the active controls per table: sticks and switches over their full ranges.

  • Center the sticks and 3-position switches. Click on Centered . Click on Save . Click on Close .

JG's calibration window

View the Taranis Inputs and Remapping

  • From JG’s menu, choose Tools -> Input Viewer .
    A new window appears (hereafter called JG-viewer). Make it tall as shown below.

  • In the JG-viewer window, for the FrSky Taranis Joystick, check the two boxes:
    Axes - Current and Buttons + Hats .

  • For the vJoy Device #1 , check the box: Axes - Current . SeligSIM will only use vJoy axes.

  • Move the sticks and switches to see that your inputs are being seen by JG.

  • The vJoy Device #1 axes will not move because you have yet to define the remapping.

  • See image below.

../_images/jg-status-frsky-taranis-x9d-plus.png

JG-viewer
JG input/output viewer showing the axes and buttons for the Taranis and the vJoy Device.

Remap the Taranis

JG’s top row has tabs for USB controllers, your keyboard, and the vJoy Device #1 that you created. Generally, the USB controllers are the inputs to the output that is the virtual joystick vJoy Device #1 which is used by SeligSIM. The keyboard appears, but it will not be used here. Other USB controllers will appear if you have others plugged into your computer. Disconnect any extraneous USB controllers for this setup.

Tip

When you are finished remapping, follow these steps to use the controller:

  • In Joystick Gremlin, click the gamepad icon to change it from black to green so that Joystick Gremlin is Activated. Use JG’s Tools -> Input Viewer to confirm that your inputs are going to the vJoy Device joystick as you expect.

  • When running SeligSIM, select the vJoy Device virtual joystick that you created. Do not select the FrSky Taranis Joystick.

Before running SeligSIM, it is recommended that you run the Windows Game Controller gadget to see that vJoy Device is indeed active, responding to your controller inputs.

Overview

Each section below remaps a single control to one axis for SeligSIM, starting with Ailerons. First, you move a control to select an input. It will gray highlight on the left side of JG’s main window. Then you will define where that control is mapped using the right side of JG main window. Then you can test each axis mapping with the JG-viewer window to see that it is correct.

Remap the Taranis Axes to vJoy Axes

To create your remapping to the standard axes order for SeligSIM, these steps are performed in JG’s main window. To start, the JG gamepad icon should be black (not green). If it is green, click on it.

In JG’s main window, click on the tab: FrSky Taranis Joystick .

  • The left side of the window lists the FrSky Taranis Joystick axes and buttons being driven by your Taranis.

  • The last moved axis or button will be highlighted gray.

  • The right side shows what each axis and button does (what will define the remapping).

  • This right side is initially blank.

  • The left side’s labels for the axes (e.g., X Axis, and so on) are the Windows terminology for joystick axes and buttons and not meaningful to SeligSIM. Yet, the left side names will be used in the instructions here.

Map the Aileron Stick to vJoy Axis 8

  • First you may need to move the sticks around to ‘wake-up’ the main JG window. It can go into a “sleep” mode. Again, the last moved axis or button should highlight gray as you move each control input.

  • Move the aileron stick (conventionally, for Mode 2, the right stick, horizontally).
    In JG, the left side’s highlight jumps to Y Axis .

  • On the right side, into Action Description type “Ailerons”.

  • On the right side, next to the first dropdown (it will have Remap selected), click Add .

  • Inside the gray Remap box, change the lower dropdown from X Axis to Dial (vJoy Axis 8).

  • See image below. Click to enlarge.

Test your mapping:

  • At top left, click the JG gamepad icon (“Activate”) to change it from black to green.

  • Move the aileron stick. Now JG-viewer’s vJoy Axis 8 reacts to that movement.

  • Your first axis remapping is complete.

  • Click the JG gamepad icon to make it black again. Click to make it green to review your mapping at any time.

This screen shot below also shows results of the remaining instructions. Click for full size image.

JG, mapping the NX10 aileron stick to vJoy's axis 8.

Map the Elevator Stick to vJoy Axis 7

  • Move the elevator stick. The left side’s highlight jumps to Z Axis .

  • On the right side, into Action Description type “Elevator”.

  • On the right side, next to Remap , click Add .

  • Inside the gray Remap box, change the lower dropdown to Slider (vJoy Axis 7).

  • Below the Remap box, change the dropdown Remap to Response Curve . Click Add .

  • Within the Response Curve box, click on Invert to reverse the axis.

Map the Rudder Stick to vJoy Axis 6

  • Move the rudder stick. The left side’s highlight jumps to X Rotation .

  • On the right side, into Action Description type “Rudder”.

  • On the right side, next to Remap, click Add .

  • Inside the gray Remap box, change the lower dropdown to Z Rotation (vJoy Axis 6).

  • Below the Remap box, change the dropdown Remap to Response Curve . Click Add .

  • Within the Response Curve box, click on Invert to reverse the axis.

Map the Throttle Stick to vJoy Axis 5

  • Move the throttle stick. The left side’s highlight jumps to X Axis .

  • On the right side, into Action Description type “Throttle”.

  • On the right side, next to Remap , click Add .

  • Inside the gray Remap box, change the lower dropdown to Y Rotation (vJoy Axis 5).

  • Below the Remap box, change the dropdown Remap to Response Curve . Click Add .

  • Within the Response Curve box, click on Invert to reverse the axis.

Map the Gear Switch to vJoy Axis 4

  • Move the top left side 2-position switch labeled “SF” (see table above). The left side’s highlight jumps to Y Rotation .

  • On the right side, into Action Description type “Gear”.

  • On the right side, next to Remap , click Add .

  • Inside the gray Remap box, change the lower dropdown to X Rotation (vJoy Axis 4).

  • When the gear switch is pulled forward (toward you), the gear will retract.

Map the Flap Switch to vJoy Axis 3

  • Move the flap switch labeled “SC”. The left side’s highlight jumps to Z Rotation .

  • On the right side, into Action Description type “Flaps”.

  • On the right side, next to Remap , click Add .

  • Inside the gray Remap box, change the lower dropdown to Z Axis (vJoy Axis 3).

  • When the flap switch is pushed up, the flaps will be retracted.

Map the Reset Switch to vJoy Axis 2

  • Move the front left 3-position switch labeled “SB”. The left side’s highlight jumps to Dial .

  • On the right side, into Action Description type “Reset”.

  • On the right side, next to Remap , click Add .

  • Inside the gray Remap box, change the lower dropdown to Y Axis (vJoy Axis 2).

  • When the reset switch is up/middle/down, the model will reset-in-place/fly/reset-to-home, respectively.

Map the Flight Modes Switch to vJoy Axis 1

  • Move the top right 3-position shoulder switch labeled “SG”. The left side’s highlight jumps to Slider .

  • On the right side, into Action Description type “Flight Modes”.

  • On the right side, next to Remap , click Add .

  • Inside the gray Remap box, change the lower dropdown to X Axis (vJoy Axis 1).

  • Below the Remap box, change the dropdown Remap to Response Curve . Click Add .

  • Within the Response Curve box, click on Invert to reverse the axis.

  • When the flight mode switch is pulled forward (toward you), it will be the “low” rates flight mode (and pushed away, “high” rates). However, the specific descriptor when running SeligSIM does depend on the airplane in SeligSIM.

Save Your Work

From the menu, File -> Save Profile As and give it a name, e.g. My-Taranis-X9D.xml .
After you have saved it once, you can File -> Save Profile at any time, of course.

Activate and Test

When the JG gamepad icon is green, the JG-viewer window should show all vJoy axes reacting to your Spektrum controls defined above.

Confirm the Remapping

Finally, your Spektrum transmitter inputs mapped to vJoy should match the standard axes order below which also shows the axis directions (via showing the result of full stick and switch throws in the specific directions). The mapping order, generally, was discussed here. In this diagram, the “Axis 1” for vJoy is “1. Flight Modes” (“FM”) for SeligSIM, etc.

When you finish this guide, return back to the last part of Getting Started: Part I to continue your setup and run SeligSIM.

Click image to enlarge.

standard axis order
Standard axes order in SeligSIM with sliders at full deflections for the controls indicated.