Author Topic: Nightlies and joystick  (Read 2052 times)

0 Members and 1 Guest are viewing this topic.

Nightlies and joystick
Hi, I can't get my joystick to work with the current nightlies

Code: [Select]
Initializing Joystick...
Printing joystick info:
  Joystick name: XInput Controller #1
  Joystick GUID: 78696E70757401000000000000000000
  Joystick ID: 0
  Joystick device ID: 0
  No joystick is being used.

  Initializing Haptic...
  Available haptic devices:
    Controller (XBOX 360 For Windows)
    XInput Controller #1

    Number of haptic axes: 2
    Number of effects supported: 128
    Number of simultaneous effects: 128
  ... Haptic successfully initialized!

BTW I'm already using wxlauncher 0.12 and my joystick is correctly listed, when launching 3.7.4 I got it in-game but not with recent nightlies.

Edit: My joystick guid listed in fs2open.ini is 000000000000000000000 that's strange...

Edit2: I can confirm that my joystick works with the nightly from 3/02/2017, but not with the nightly from yesterday (3/03/2017)
Edit3: My bad it'n not working with 3/02/2017 sorry, I'm trying earlier nightlies
« Last Edit: March 04, 2017, 10:20:32 am by krevett62 »

  
Re: Nightlies and joystick
Ok for those that wonder I found a workaroud!

If i use "-portable mod" my joystick is working, but if I copy the fs2open.ini file to my root fs2 directory it doesn't work anymore...

Code: [Select]
-portable_mode

"Store config in portable location"

Uses the root directory of FSO for storing pilot and config files. The current launcher does not have proper support for this yet so you need to manually copy the fs2_open.ini from the original config directory to your FreeSpace Root directory.

The log file with "-portable mode" enabled

Code: [Select]
Initializing Joystick...
Printing joystick info:
  Joystick name: XInput Controller #1
  Joystick GUID: 78696E70757401000000000000000000
  Joystick ID: 0
  Joystick device ID: 0
  Using 'XInput Controller #1' as the primary joystick

  Number of axes: 6
  Number of buttons: 11
  Number of hats: 1
  Number of trackballs: 0

  Initializing Haptic...
  Available haptic devices:
    Controller (XBOX 360 For Windows)
    XInput Controller #1

    Number of haptic axes: 2
    Number of effects supported: 128
    Number of simultaneous effects: 128
  ... Haptic successfully initialized!

I cannot use the standard config folder because the fs2open.ini file is created automatically and that's the file that seems to cause the issue with my joystick.

Edit: What's annoying with portable mode is that now my mod folders are cluterred with opengl shaders cache files!

Edit2: Ok it was an AV problem! wxlauncher was probably hindered by that now it's working even without portable mode.
« Last Edit: March 04, 2017, 01:30:39 pm by krevett62 »