Results 1 to 2 of 2

Thread: Problem using D-Pad on gamepad controller

  1. #1
    Join Date
    Sep 2008
    Posts
    7

    Default Problem using D-Pad on gamepad controller

    Our team came across a bug in the DS software related to a D-Pad on a gamepad type controller. At first we attributed it to a broken controller, but a new one exhibited the same behavior. Moreover, when we ran the exact came code using last year's blue DS, there was no problem.

    Our D-Pad objects talks directly to the DriverStation object. When it wants to get the 'x' axis, it looks at axis number 5, and looks at axis number 6 for the 'y' axis. Axis 5 is expected to return -1 for a left arrow press and 1 for a right arrow press. Axis 6 is expected to return -1 for an up arrow press and 1 for a down arrow press. The corners should return combinations of these, such as axis 5 => -1, axis 6 => 1 for a down-left press. Every direction works as expected except and left arrow press, it returns 1 instead of -1 for axis 5. Oddly, down-left and up-left work correctly. As I said above, last year's DS works correctly, so it is definitely a bug in this year's DS.

  2. #2
    Join Date
    Sep 2008
    Posts
    7

    Default Re: Problem using D-Pad on gamepad controller

    Is there any chance of getting this fixed? We'd really like to use the left direction on our D-pads.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Driver Station Computer Problem
    By kalanirobotics3008 in forum Operator Console
    Replies: 2
    Last Post: 01-18-2010, 04:48 PM

Posting Permissions

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