Just want to clarify what you’re asking - you want to know how to get the “LeftStick” input from the Mad Catz CTRL, and use it to move the game object on the X axis, correct?
I just finished playing around with a MadCatz CTRL for a 1st person VR project in Unity, and here’s what I used for the left joystick.
In the InputManager (Edit - Project Settings - Input), make sure you have an entry called “LeftStick” with the following properties.
Name: LeftStick
Gravity: 0
Dead: 0.1
Sensitivity: 1
Type: Joystick Axis
Axis: X Axis
Joy Num: Get Motion from all Joysticks
The rest of the fields I’ve left blank/unchecked, and I suppose the Gravity/Dead/Sensitivity can be set to your personal taste.
Keep in mind, this is just for the X axis - if you want to use the left joystick for moving in the Y axis (or even Z axis), you’ll probably want to give it a better name (like LeftStickX) so that you can add additional entries (using Axis: Y Axis).
The Right Joystick values can be retrieved with
Left/Right
Axis:
Up/Down
Axis: 4th Axis (Joysticks and Scrollwheel)
I’ve not yet found a complete reference to which buttons map to which names, but the ones I’ve used so far are as follows:
Left Joystick right/left: X axis
Left joystick up/down: Y axis
Right Joystick right/left: 3rd Axis (Joysticks and Scrollwheel)
Right Joystick up/down: 4th Axis (Joysticks and Scrollwheel)
Button X: joystick button 0
Button A: joystick button 1
Right Trigger: joystick button 5
At some point, I’d like to update link text with the specific mappings for the MadCatz CTRL - I’m sure I’ll be referencing it a lot.