View unanswered posts | View active topics It is currently Thu Aug 13, 2020 1:57 pm

Reply to topic  [ 2 posts ] 
joystick.joy1_y1 not returning the full range 
Author Message

Joined: Fri Dec 07, 2012 12:07 pm
Posts: 1
Post joystick.joy1_y1 not returning the full range

So we're having a bit of trouble out of our joysticks, so I'm hoping someone can point us in the right direction. Basically, our left joystick isn't returning the full range of values. It either gives us -128 or 127 or 0 and nothing in between. Our right joystick however, returns the full range of values. So we can essentially make nice and easy left hand turns, but anything else make for fast and jittery movement due to the lack of range.

Is this something with our setup? We've tried different controllers and this also happened at our competition last weekend.

Fri Dec 07, 2012 12:14 pm
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 722
Post Re: joystick.joy1_y1 not returning the full range
There are two buttons on the Logitech controller itself you will want to take a look at to ensure they are set in the correct positions; the 'Mode' button on the front of the joystick (underneath the 9/back button, above the left joystick) and the D/X switch on the back of the controller.

As far as the 'Mode' button and 'D/X' switch on the joystick itself, "The Mode button on your Gamepad F310 swaps the functionality of the directional pad (D-pad) with the left thumbstick" (from Logitech's specification page)

The D and X switch on the back switches between 'DirectInput and XInput' (more information found on Logitech's site).

You will want to make sure that the Mode button is off (the red light should be off) and that the D/X switch is set to D. If both of these settings are correct and you are still having issues, please post the code that you are using (via the [code][/code] tags) and we'll be more than happy to assist you further.

Check out our Blog! And our Facebook page!
Need help? Take a look at our updated help documentation and the ROBOTC Forums.

Fri Dec 07, 2012 12:56 pm
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.