Windows 8 PS3 controller support

Post here to get support
Post Reply
sparky122sparks
Beginner
Posts: 4
Joined: Thu Aug 14, 2014 1:36 pm

Windows 8 PS3 controller support

Post by sparky122sparks »

hello, i was wondering if anyone had found a way to control the crazyflie with a ps3 controller on win 8. i can plug the controller in and connect directly to the crazyflie software but i can not figure out how to configure the joysticks. if i use the pre-programmed controls, all the copter will do is go up and down. even then i cant get it to hover, it only bounces wildly up and down.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Windows 8 PS3 controller support

Post by arnaud »

Hi,
Have your tried to configure the gamepad with "Input device"/"Configure device mapping" ?
It seems that the thrust part is working but the other axis are not configured. You can verify which axis are configured without connecting a copter by looking at the target values in the flight control tab.
sparky122sparks
Beginner
Posts: 4
Joined: Thu Aug 14, 2014 1:36 pm

Re: Windows 8 PS3 controller support

Post by sparky122sparks »

i have tried to configure it but i do not understand how to. i actually figured out that what i thought was thrust control was actually just the altitude control toggle. when i try to configure thrust control for instance, it asks me to put the controller to max thrust but than when i do that nothing happens. the only other button is the cancel button.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Windows 8 PS3 controller support

Post by arnaud »

Hi, Did you make sure the gamepad works on Windows? The PS3 gamepad is not working out of the box on modern Windows and I kind of recall that having no axis was a symptom.

Can you check if the gamepad works well in "Set up USB game controllers." in the Windows control panel?
sparky122sparks
Beginner
Posts: 4
Joined: Thu Aug 14, 2014 1:36 pm

Re: Windows 8 PS3 controller support

Post by sparky122sparks »

no, the controller does not seem to be working on win 8. i have tried to use motioninjoy many times before but i cannot seem to get it working so is there any other type of controller that you would recommend to control the crazyflie?
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Windows 8 PS3 controller support

Post by arnaud »

On windows the easiest is, unsurprisingly, XBox 360 USB controller. The joysticks have a bit less course than the PS3 one but they work out of the box.

For the ps3 controller I have seen about this xinput wrapper at some point: http://forums.pcsx2.net/Thread-XInput-W ... Controller
It seems less intrusive that motionjoy and I just tried on a Windows 8 virtual machine it works well. It makes the ps3 gamepad recognised as an xbox 360 controller.

If you test the ps3 driver please tell me if it works, so that we can update the wiki.
sparky122sparks
Beginner
Posts: 4
Joined: Thu Aug 14, 2014 1:36 pm

Re: Windows 8 PS3 controller support

Post by sparky122sparks »

Ok thank you. I will try that when I get time :D
jaman
Beginner
Posts: 3
Joined: Sun Nov 16, 2014 1:41 pm

Re: Windows 8 PS3 controller support

Post by jaman »

hi, i faced the same problem, but solved it finally by using motioninjoy, choosing "Xinput-Default Xbox 360 controller" and press enable.

cheers
karsten
Post Reply