Forums » Bugs

GamePad Zaxis issue

Mar 04, 2013 20:10 link
Hey, nice game.

I'm trying to set up a gamepad to work but I'm having pretty much the same issue described by another player on this post: http://www.vendetta-online.com/x/msgboard/2/16588#257882 (locked thread) a long while back.

I've managed to configure everything as I need it but the game doesn't allow me to set the gamepad trigger buttons (Zaxis) to fire weapons. If anyone has a solution to this it would be appreciated. Cheers.
Mar 04, 2013 abortretryfail link
We've asked a number of times for the ability to bind arbitrary controls to joystick axes. This case is common, as is the POV hat being exposed to the game as axes instead of buttons (It does this on Linux, dunno about other platforms)

It's possible to "fake it" via plugin, and I have some test code for it, but I just haven't put much work into it.
Mar 04, 2013 20:10 link
Gotchya, thanks. I'll see what I can do with the setup as it is.
Mar 04, 2013 draugath link
From my own research into the matter, this is not a VO issue but an OS issue.
It all boils down to how your OS represents each control on the joystick.

One specific example I ran into is the hatswitch on most joysticks. Linux correctly identifies the directionals on the hatswitch as axes. Windows, however, tries to be user friendly and remaps each direction to a button press.

Here's a link that talks about it some, along with a linux utility that aids in the use of non-X/Y axes.
http://hans.fugal.net/blog/2007/06/02/joystick-hat-in-x-plane-in-linux/

Granted, you never specified what OS you're on, but that still doesn't change the fact this isn't a VO problem.
Mar 07, 2013 abortretryfail link
It's not an OS issue in general. There's some game pads/controllers whose shoulder buttons show up as axes even on Windows and Mac.

Only the special case with POV hats on Linux is OS-specific and to be fair, it's a VO problem, since it's using the old legacy Linux joydev interface instead of the "new" event interface which exposes more information about the controller. The game HAS been around for a long time though...