Go to Post I care that teams took some time to put in safe guards to prevent shrapnel hitting people because I'm selfish and I enjoy the use of all of my limbs. - Andrew Schreiber [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 21-01-2015, 10:13
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 544
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Xbox controller right analog stick not being read.

Quote:
Originally Posted by NHoffmann View Post
Thank you so much! We were having so much trouble getting everything to work with the old mappings, and this explains it!
The new driver station will show the name of all of the axes as well as their channels, I believe it is the fourth option down on the left
  #2   Spotlight this post!  
Unread 21-01-2015, 10:35
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Xbox controller right analog stick not being read.

I didn't realize that it was the number of axes that was the issue. For a bit of background on this.

DirectInput will read Xbox controllers and Xbox-like controllers and typically combines the left and right shoulder buttons into one. So one axes is spread out and the left button drives it negative and the right button positive, or vice-versa.

But The XInput drivers treat the shoulder buttons as two separate axes that only go from zero to 1.

The Logitech F310 can actually be both depending on a switch on the back.

So back to the topic. The joystick APIs are a little different. Quite a few additional features are supported, and the USB tab is key to understanding the functionality of a given joystick. If you assume it works just like last year, you may miss some functionality and/or get confused and assume a behavior change is a bug.

Greg McKaskle
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


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

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