Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Joystick controls are screwy

  1. #11

    Joystick problems resolved with PPJoy.

    Well after fighting with a few Direct-X configuration tools, I fell back on an old tool "PPJoy" and I was able to map everything correctly on my G940, TSInstructor sticks, and even the Real Flight T. It's a pain to install under Windows 7 x 64, but it works like a charm if you are having Joystick data issues. Maybe I should post a configuration some place.

  2. #12
    OP - I've also got a Speedlink Black Widow joystick, and I've got it working with Kerbal using a combination of PPJoy and GlovePIE (both freeware). Here's how...

    Use PPJoy to create a virtual joystick, then use GlovePIE to run a script which maps the physical joystick controls to virtual ones which are interpreted correctly by Kerbal. The script needs to be running in the background while you are running Kerbal.

    1. PPJoy
    - open 'configure joysticks' dialog
    - click 'add...' to create virtual joystick
    - select it, click on 'mapping...', click on next
    - select 'delete individual mapping - use interface default'
    - click on next / yes / finish

    2. GlovePIE script:
    - open GlovePIE
    - enter and save the script below
    - click on run (do this each time you play Kerbal)

    //joystick axes (rockets - uses rudder controls for roll)
    PPJoy1.Analog0 = Joystick1.RotZ
    PPJoy1.Analog1 = Joystick1.y
    PPJoy1.Analog2 = -1 * Joystick1.z
    PPJoy1.Analog6 = Joystick1.x

    //joystick axes (space-planes - uses rudder controls for yaw)
    //PPJoy1.Analog0 = Joystick1.x
    //PPJoy1.Analog1 = Joystick1.y
    //PPJoy1.Analog2 = -1 * Joystick1.z
    //PPJoy1.Analog6 = Joystick1.RotZ

    //pan camera
    keyboard.Left = Joystick1.Pov1Right
    keyboard.Right = Joystick1.Pov1Left
    keyboard.Up = Joystick1.Pov1Down
    keyboard.Down = Joystick1.Pov1Up

    //zoom in/out
    Keyboard.Equals = Joystick1.button3
    Keyboard.Minus = Joystick1.button4

    //map other keys to joystick buttons as required
    Keyboard.T = Joystick1.Button1
    Keyboard.M = Joystick1.Button2
    Keyboard.F2 = Joystick1.Button8
    //etc

    3. SETTINGS
    - You must edit the Kerbal 'settings.cfg' file manually, it won't work if you try to bind the controls in-game:

    ...
    AXIS_PITCH
    {
    name = VirY
    id = joy0.1
    inv = False
    sensitivity = 1
    deadzone = 0
    }
    AXIS_ROLL
    {
    name = VirX
    id = joy0.0
    inv = False
    sensitivity = 1
    deadzone = 0
    }
    AXIS_YAW
    {
    name = VirRotZ
    id = joy0.3
    inv = False
    sensitivity = 1
    deadzone = 0
    }
    AXIS_THROTTLE
    {
    name = VirZ
    id = joy0.2
    inv = False
    sensitivity = 1
    deadzone = 0
    }
    ...

    NB you may need to play around with the joystick IDs in the script and config file, depending on what other controllers you've got plugged into your PC. Hope that helps!
    Last edited by Bedazzled; 28th August 2012 at 06:27.

  3. #13
    KSP doesn't even recognize my joystick and it wont work

  4. #14
    Quote Originally Posted by Conanator View Post
    KSP doesn't even recognize my joystick and it wont work
    PPJoy / GlovePIE should work with any joystick. It's a faff to set up but well worth it imho, as having joystick control transforms Munar landings etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •