Jump to content

  • Log In with Google      Sign In   
  • Create Account

aerojockey

Member Since 31 Aug 2006
Offline Last Active Mar 08 2014 07:59 PM

#5032522 Joystick sign conventions

Posted by aerojockey on 15 February 2013 - 02:12 AM

Quick question--it's so hard to Google for answers like this one: Is the sign convention for PC joysticks or D-pads something I can generally rely on?  It seems that the horizontal axis is positive right, and the vertical axis positive down, and the horizontal axis has the lower axis number.  If that's true for all joysticks, then all I'd have to do to detect the correct axis mappings is to ask the user to move the joystick around the perimeter a few times.  If this is inconsistent then I'd have to map the horizontal and vertical axes separately.  Thanks.




PARTNERS