![]() |
gamepad programming
Hey, CD,
My team is thinking about using a gamepad style controller (aka xbox style). I need to know if the 'joystick vi' family will work with a game controller. Thanks for the input.:D |
Re: gamepad programming
It should work just fine if it's USB compatible. I dont know if wireless will work though.
Hope this helps |
Re: gamepad programming
As long as the gamepad is an HID (Human Interface Device) the joystick.vi should be compatible. Most gamepads should be a HID.
|
Re: gamepad programming
Alright, thanks guys. I figured they would work, but was needed confirmation before I request I controller for 'el jefe'. Again thanks for the feedback.
Now for another question: to control a tank drive like a video game, with a button for drive and joystick for steering, how would I control the steering? I think it would be something like the following: if x<0, 1-lxl= left drive if x>0, 1-lxl= right drive I know that some mobility will be compromised, but we have considered this. I am still trying to figure out the best way to control this thing lol. Thanks again for the input:D Edit: also, any suggestions for improving this would be greatly appreciated |
Re: gamepad programming
Quote:
|
Re: gamepad programming
Quote:
|
Re: gamepad programming
Quote:
|
Re: gamepad programming
A button would set the motors to one, then the joystick would reduce the power to a side, causing smooth turning rather than zero turn.
|
| All times are GMT -5. The time now is 02:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi