Xbox controller?

Hey is it possible to control things in blender game engine with an xbox controller through a Mac? If possible what do I need to do? Do I need a specific cord? And is it possible to connect two?

Or
Is it possible to hook up a second mouse that controls a separate cursor??? That’d be cool…

I would like to know that too

Solarlune may be knowledgeable on this. Yes, I beleive you can as i saw a demo somewhere

It is possible, but it depends on what mac version you have - you need Bluetooth and a wireless controller or an adaptor (10usd). It’s a lot easier for PC. Have a search on YouTube, it worked for me. Also, I rang apple and asked them if there are any apple controllers for gaming and they said no.

apple suck on games unfortunably, but I want to know how to play with my xbox controler on blender games, I have the wireless adapter and usually play games on steam so it work out fine but I never used it on my blender projects.

Something to be aware of is that a PS3 controller will sync with a mac over bluetooth without an issue. Plug it into the computer using the standard cord and hit the PS button. It will then work wirelessly.

A quick google search will give deeper instructions but it really is that easy.

I don’t know about matching the controls up within blender, but I recall a tutorial somewhere.

There’s a Joystick sensor.
http://pasteall.org/pic/show.php?id=29478
Just change it to Axis, not button.
http://www.pasteall.org/pic/show.php?id=29479
Axis Number is which analogue
Index is what port, ie which USB it’s plugged in from.
Axis Threshold is how hard you have to push to make the sensor fire. I usually use 3000
All Events means any rotation on the analogue fires the sensor
Axis Direction is self-explanatory, Right is Right. There are Right, Left, Down and Up.

Hope that helps. The rest I’m sure you can figure out on your own. :wink:

Awesome thanks everyone. I don’t have any playstation controllers is the only problem and just have some xbox controllers lying around. I’ll check with my friend who uses xbox controllers with steam on his computer. Thanks for the pictures of the sensors too.

i recently bought a “3 in one magic joy box” and it works with gamcube playstation and gamecube controllers. Works like a charm

I can confirm that Joystick sensor works with XBOX360 controller on a PC.

Axis Number is which analogue
Index is what port, ie which USB it’s plugged in from.
Axis Threshold is how hard you have to push to make the sensor fire. I usually use 3000
All Events means any rotation on the analogue fires the sensor
Axis Direction is self-explanatory, Right is Right. There are Right, Left, Down and Up.

Right Thumbstick:
Up = Index 0, number 2, axis, up axis
Down = Index 0, number 2, axis, down axis
Left = Index 0, number 3, axis, left axis
Right = Index 0, number 3, axis, right axis

Left Thumbstick:
Up = Index 0, number 1, axis, up axis
Down = Index 0, number 1, axis, down axis
Left = Index 0, number 1, axis, left axis
Right = Index 0, number 1, axis, right axis

Left Trigger = Index 0, number 2, axis, right axis
Right Trigger = Index 0, number 2, axis, left axis
The problem here is that you can’t hold both triggers at once, because one will cancel the other out.

A = Index 0, Button, number 0
B = Index 0, Button, number 1
X = Index 0, Button, number 2
Y = Index 0, Button, number 3

Left Shoulder = Index 0, Button, number 4
Right Shoulder = Index 0, Button, number 5

Back = Index 0, Button, number 6
Start = Index 0, Button, number 7

I simultaneously hate and love the people in this thread.

I hate you because you have just invalidated all the work I have been doing for the last week with scripting.

I love you because you have made the project better, easier and better to control.

The love edges out the hate.