Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Logitech Dual-Action Gamepad - Axis Problem (http://www.chiefdelphi.com/forums/showthread.php?t=80250)

Mr. Lim 15-01-2010 15:55

Logitech Dual-Action Gamepad - Axis Problem
 
Hello Everyone,

We are programming using the Logitech Dual-Action Gamepads.

We've encountered a problem where we can't seem to get proper values from the X and Y axes on the left analog stick.

We've tried printing GetRawAxis for all 6 possible axes, and the left joystick seems to change values on Axes 5 and 6, but gives values of only -1.0, 0 or 1.0 - nothing in between.

Has anyone successfully gotten values from this controller on the left analog stick?

-Mr. Lim...

Alan Anderson 15-01-2010 16:36

Re: Logitech Dual-Action Gamepad - Axis Problem
 
Quote:

Originally Posted by Mr. Lim (Post 899885)
Hello Everyone,

We are programming using the Logitech Dual-Action Gamepads.

We've encountered a problem where we can't seem to get proper values from the X and Y axes on the left analog stick.

We've tried printing GetRawAxis for all 6 possible axes, and the left joystick seems to change values on Axes 5 and 6, but gives values of only -1.0, 0 or 1.0 - nothing in between.

Has anyone successfully gotten values from this controller on the left analog stick?

-Mr. Lim...

The left analog stick on some gamepads is either a true joystick or the equivalent of a D-pad. Is there a physical switch to change your gamepad from "button" mode to "analog" mode?

Mike Soukup 15-01-2010 17:50

Re: Logitech Dual-Action Gamepad - Axis Problem
 
Are you using the Gamepad class that I posted last year?

(Going strictly from memory since I haven't played with any code yet this year) As Alan said, there's a "Mode" button on the gamepad that either swaps the left stick and the D-pad or changes the left stick to "digital" mode. Try pressing that button a couple times.

Joe Ross 15-01-2010 18:28

Re: Logitech Dual-Action Gamepad - Axis Problem
 
Are you running the latest DS software? What you are describing sounds like a bug that was fixed during the beta.

NorviewsVeteran 15-01-2010 18:31

Re: Logitech Dual-Action Gamepad - Axis Problem
 
On the controller, click the little "mode" button that toggles the little red light on/off.

Mr. Lim 16-01-2010 19:28

Re: Logitech Dual-Action Gamepad - Axis Problem
 
Thanks guys...

Mode button that toggles the little red light did the trick.

Actually, we ended up restarting the DS, which also toggles power to the game-pad, which in turn reset the "D-Pad analog emulation" mode to off.

Sounds like just about everyone in this thread was right =P.

Thanks again, you can close this thread if you wish!


All times are GMT -5. The time now is 22:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi