View Single Post
  #4   Spotlight this post!  
Unread 15-04-2014, 16:05
MDAWG25's Avatar
MDAWG25 MDAWG25 is offline
FRC Capability Developer LabVIEW
AKA: Matt
FRC #2614 (MARS)
Team Role: Engineer
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Morgantown, WV
Posts: 47
MDAWG25 is on a distinguished road
Re: How To: Xbox Controller Vibration

Quote:
Originally Posted by JamesTerm View Post
This is pretty cool. I believe, and Greg please jump in if I am wrong... only labview teams can use this kind of solution. If c++ and java teams could use xinput there is not anything that I have seen to do so in short of having to write our own application (e.g. make a wedge proxy to the dashboard with its own networking solution). IIRC I believe direct input had some preliminary functionality for that for rumble, but I have never tested using that so it is hard to say... The driver station uses direct input, but the c++ and java interface is limited to certain controls because all the controls and submitted in a packet and it is packed tight, so I am somewhat surprised that labview is not subjected to the same functionality.
The XInput DLL is loaded from the dashboard separately. The Smartdashboard should be able to load the xinput.dll just like the labview dashboard is.
__________________
Mountaineer Area RoboticS (MARS) Team 2614



2015-???
2014-Driver
2013-Driver
2012-Driver
2011-Programmer