Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How To: Xbox Controller Vibration (http://www.chiefdelphi.com/forums/showthread.php?t=128813)

Alan Anderson 27-04-2014 16:11

Re: How To: Xbox Controller Vibration
 
Quote:

Originally Posted by GuyM142 (Post 1378660)
Can I use the XInput DLLs to send controller data to the robot?

You can send any data you want to the robot. You can get that data any way you want (subject to robot rules).

Quote:

Will it be as responsive as the joystick library of WPIlib?
Your custom data will be as responsive as you want to make it (subject to bandwidth limitations). The joystick data provided by the standard WPI library functions is part of the Driver Station communication which occurs 50 times per second.

JamesTerm 27-04-2014 22:13

Re: How To: Xbox Controller Vibration
 
Quote:

Originally Posted by GuyM142 (Post 1378660)
Can I use the XInput DLLs to send controller data to the robot?
Will it be as responsive as the joystick library of WPIlib?

Why would you want to do that if I may ask... is there something XInput offers that the joystick library does not?

I know about the analog trigger buttons (direct input issue), and some limitation of the POV's (WPIlib issue). Hopefully that's all of them.

Peleg2230 26-06-2014 15:43

Re: How To: Xbox Controller Vibration
 
I got a tricky question...

If there are two Xbox controllers connected do they both vibrate?
(We don't have two controllers to check it out in our lab...)


All times are GMT -5. The time now is 06:45.

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