Go to Post FIRST is an organization that teaches students that smart is cool. - Warren Boudreau [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-01-2010, 15:55
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
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...
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #2   Spotlight this post!  
Unread 15-01-2010, 16:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Logitech Dual-Action Gamepad - Axis Problem

Quote:
Originally Posted by Mr. Lim View Post
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?
  #3   Spotlight this post!  
Unread 15-01-2010, 17:50
Mike Soukup's Avatar
Mike Soukup Mike Soukup is offline
Software guy
FRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Schaumburg, IL
Posts: 797
Mike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond repute
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.
  #4   Spotlight this post!  
Unread 15-01-2010, 18:28
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,582
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
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.
  #5   Spotlight this post!  
Unread 15-01-2010, 18:31
NorviewsVeteran's Avatar
NorviewsVeteran NorviewsVeteran is offline
Precision Driver Extraordinaire
AKA: Richard Raitt
FRC #1793 (Pilots)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Norfolk VA
Posts: 569
NorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond reputeNorviewsVeteran has a reputation beyond repute
Re: Logitech Dual-Action Gamepad - Axis Problem

On the controller, click the little "mode" button that toggles the little red light on/off.
__________________
______
I was in Scouts but I wanted out by the third meeting. I was in TSA, but I quit after a couple of weeks. I don't go camping with the SCA anymore. I was in taekwondo but I had to leave because I got sick.
I joined FIRST and stuck with it. It was nice enough to return the favor.

  #6   Spotlight this post!  
Unread 16-01-2010, 19:28
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
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!
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
logitech dual-action gamepad kamocat NI LabVIEW 6 19-01-2010 20:47
New class for Logitech Dual Action Gamepad Mike Soukup C/C++ 8 11-02-2009 20:08
**FIRST EMAIL**/Purchasing 2007 FRC Game Pieces and Yaw Rate Gyro and Dual Axis Accel GNH2000 FIRST E-Mail Blast Archive 7 09-01-2007 18:38
Dual-Axis Accelerometer naor52 Programming 18 27-01-2006 22:06


All times are GMT -5. The time now is 16:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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