|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Xbox One controller feedback?
Our team has used Xbox 360 controllers for 4 years, but I'm curious to see if anyone is using an Xbox One controller via the USB cable? If so, have you looked into using the trigger "rumble"?
I don't think this would add any real functionality, but it would be an interesting side project to add some rumble in the XB1 Controller triggers when you shoot the ball or rumble either controller based on how fast you were driving. Is this possible with any of the languages we are allowed to use now? |
|
#2
|
||||
|
||||
|
Re: Xbox One controller feedback?
As of right know, Microsoft has not released drivers for Windows for the Xbox One controller.
|
|
#3
|
||||
|
||||
|
Rumble functions on any controller are not supported by WPILib and the Driver Station
|
|
#4
|
||||
|
||||
|
Re: Xbox One controller feedback?
Quote:
![]() |
|
#5
|
|||||
|
|||||
|
Re: Xbox One controller feedback?
Keep in mind that the Driver Station is just one program. You are able -- and even encouraged -- to run your own Dashboard software alongside it. It should be possible to use advanced joystick/gamepad features from your own code.
|
|
#6
|
||||
|
||||
|
Re: Xbox One controller feedback?
It's not currently possible to use an XBox One controller on Windows so that's out of the question.
Right now we're using a PS3 Controller connected with a Micro-USB cable using MotionInJoy and I like it a lot. Having the joysticks be not be at separate heights on the controller makes things like tank drive feel a lot more natural and I prefer the feel of the PS3 controller overall. |
|
#7
|
||||
|
||||
|
Re: Xbox One controller feedback?
Quote:
Also, wouldn't using gamepad functions in another program while using the same gamepad in the DS cause problems? |
|
#8
|
|||||
|
|||||
|
Re: Xbox One controller feedback?
Quote:
Quote:
|
|
#9
|
|||
|
|||
|
Re: Xbox One controller feedback?
so its my third year programming and ive never done xbox 360 controllers the most complicated thing that ive ever done was a six cim drive train so i wanted to know if someone could tutorial me on programing a xbox 360 controller using the left thumbstick for movement forwards and backwards and the right thumstick for movement right and left and the right trigger for acceleration forward and the left trigger for backward acceleration
i know itll be difficult but i wanted a challenge and now im second guessing myself and need tons of help !!!! |
|
#10
|
||||
|
||||
|
Re: Xbox One controller feedback?
Quote:
Code:
PlayerIndex controller = new PlayerIndex();
if (checkBox1.Checked == true)
{
GamePad.SetVibration(controller, 1, 1);
}
else
{
GamePad.SetVibration(controller, 0, 0);
}
I can use the .net construct node to get the Microsoft.Xna.Framework.PlayerIndex controller with this code: ![]() but I don't know how to invoke the method SetVibration, since it is only a method in Microsoft.Xna.Framework.Input.Gamepad which has no constructors. Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|