Author Topic: gamepad Axis Read Issue  (Read 1592 times)

0 Members and 1 Guest are viewing this topic.

Offline Archaic

  • 26
gamepad Axis Read Issue
I recently bought a Logitech F510 gamepad for use with FS2 as well as other games. However, when trying to implement a control scheme that utilizes the dual analog sticks, I found that the game was not reading the horizontal axis on the right analog stick during play. FS2 does however acknowledge the existence of the axis as I can bind it. The windows calibration screen confirms that all is as it should be with the gamepad.

The only thing i can think of is that FSO only supports 4 axis, where the gamepad has 5 (2 analog sticks, each with an x and y, and 2 shoulder buttons operating on the same axis).

I dont really know where to post this, but you guys make the game work, so I figured here was as good a place as any.

« Last Edit: July 21, 2011, 04:16:18 pm by Archaic »

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: gamepad Axis Read Issue
If there is a problem with the code, this may not be fixable until we get FSO on Windows using libsdl.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline IronBeer

  • 29
  • (Witty catchphrase)
Re: gamepad Axis Read Issue
Use Xpadder, emulate one of the sticks as a mouse (I'm assuming you use one of the sticks for pitch/yaw), emulate everything else as keypresses, tell FSO to not use the gamepad directly, and tell FSO to use mouse pitch/yaw. As a user of a 360 gamepad, I've not really found any ways to make FSO register the twin sticks properly aside from the previous sentence. I know it sucks, but there are workarounds that don't require code tweaking.
"I have approximate knowledge of many things."

Ridiculous, the Director's Cut

Starlancer Head Animations - Converted

 

Offline Archaic

  • 26
Re: gamepad Axis Read Issue
i switched it over to direct input mode and set the right stick to mouse, works fine now! thanks IronBeer!

  

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: gamepad Axis Read Issue
you know ive always had trouble reading the 6th axis on any joystick since retail. this is on every 6-axis joystick and gamepad ive ever owned. makes me wonder if an array got initialized wrong somewhere. ive jest never complained about it since its easy to workaround with 3rd party software and the game only really uses 4 axes at max anyway.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN