Getting them to work?

Getting them to work?

Postby MarkusOrelius » Wed 03 Feb, 2010 10:52 am

Anyone else here tested these out?

What i have gathered so far is that there is in fact, a method to get them to work on the PC microsoft even has a driver for them.
But glove pie seems unable to detect these controllers at all.

after searching some more i found, that you need a certain kind of usb reciever to make the xbox controls work on the PC,
i have a play and charge kit, (cord) that makes it plug into USB, but apparently that ONLY charges the battery nothing more.

I cant afford the adapter for a few more weeks yet, since im flat broke, but ill get around to testing it when i do!

also its reported that the newer xbox controllers should work, specifically the ones that are branded to work with a PC.
MarkusOrelius
 
Posts: 31
Joined: Wed 27 Jan, 2010 4:57 am

Re: Getting them to work?

Postby CarlKenner » Wed 03 Feb, 2010 7:33 pm

I did some searching and researching and it seems you need either:
* An Xbox 360 wired controller for Xbox 360
* An Xbox 360 wired controller for Windows (exactly the same as above but with different packaging)
* A Wireless Xbox 360 Controller for Windows
* A Wireless Xbox 360 Controller for Xbox 360 + Wireless Gaming Receiver
* (I'm guessing) A Wireless Xbox 360 Controller for Xbox 360 + Wireless Xbox 360 Controller for Windows
* An original Xbox 1 "Duke" or "Controller S" controller + Xbox USB adapter (see http://www.stepmania.com/wiki/Xbox_to_USB_Adapters) + XBCD driver
* An original Xbox 1 controller and a homemade Xbox USB adapter (you just need to connect each USB wire to the corresponding Xbox plug wire) + XBCD driver

I'm pretty sure that Wireless Xbox 360 Controller for Xbox 360 + Play and Charge Kit will NOT work.

Maybe it's better to get a whole new Wireless Xbox 360 Controller for Windows, then use its adapter with the controllers you already have plus the new controller. Or buy the Xbox 360 controller for Windows, then sell it again as an Xbox 360 controller for Xbox 360 while you keep the adapter. :-D
CarlKenner
 
Posts: 278
Joined: Sun 03 Jan, 2010 6:09 am

Re: Getting them to work?

Postby MarkusOrelius » Sat 06 Feb, 2010 11:39 am

im just gonna buy the actual wireless reciever, since reports are that that reciever will actually work with EVERY wireless xbox360 produckt.
Most of the current "wired" products should work on PC out of the box, but just in case.

I know a guy who works in the xbox division, ill see if i can borrow some gear from him when i get the dongle. it might be able to get the steeringwheel set up nicely on pc as well :)
MarkusOrelius
 
Posts: 31
Joined: Wed 27 Jan, 2010 4:57 am

Re: Getting them to work?

Postby CarlKenner » Sat 06 Feb, 2010 3:25 pm

I'm not sure that's true about it working with any future devices. I heard it doesn't work with rumble for the wireless steering wheel. Although I wouldn't know.

I gather the receiver is almost more expensive to buy by itself than with an xbox 360 wireless controller for windows, these days.
CarlKenner
 
Posts: 278
Joined: Sun 03 Jan, 2010 6:09 am

Re: Getting them to work?

Postby ])rStrangelove » Tue 09 Feb, 2010 12:20 am

Got a question:

I'd like simulate a walk button in games that allow joystick input for movement speed, like Farcry2.

So if i press a key on the keyboard the game thinks a joystick Y-axis is 'held' to about 30% forward / upward constantly. That would result in theory in slow movement in certain games.

Is this possible to script with GlovePIE? I'm planning to use my usb cable XBox controller for windows XP.
])rStrangelove
 

Re: Getting them to work?

Postby CarlKenner » Tue 09 Feb, 2010 1:10 pm

I'm confused. What does this have to do with the Xbox 360 controller?

Are you wanting to move the xbox 360 controller joystick forwards full while holding down a key on the keyboard to make it walk? Because that doesn't sound very convenient. Or is this just a keyboard thing that has nothing to do with the controller?
CarlKenner
 
Posts: 278
Joined: Sun 03 Jan, 2010 6:09 am

Re: Getting them to work?

Postby ])rStrangelove1 » Tue 09 Feb, 2010 6:56 pm

Ok, sorry for the vague infos, let's see if i can get it right this time.

Short story:
I connected a 360 controller to my pc via usb cable and discovered it was possible to walk very slowly in fc2 when i pressed the thumbstick forward. This isnt possible when using keyboard, your char is always running too fast. Thing is i hate to use the controller all the time esp in firefights. So what i need is a way to make my keyboard simulate the 360 thumbstick forward movement.

What i've read about GlovePIE here so far sounds very promising.

You said something like GlovePIE is getting data from the connected 360 controller but when writing data you're actually using a virtual 360 controller to give the input to the game. So by setting the (xinput?) Y axis to a certain value via a keypress i'd make FC2 believe i'm using the thumbstick on my (real) 360 controller right?

Something like (pseudo code):
Code: Select all
if keyboard.A == true { xinput1.Y = 20.0}
])rStrangelove1
 

Re: Getting them to work?

Postby CarlKenner » Tue 09 Feb, 2010 8:59 pm

I can't guarantee XInput emulation will work in FarCry 2, because it doesn't work in every game, but it works in most games that I tried.

Code: Select all
if keyboard.A == true { xinput1.Y = 20.0}


That's only half of what you need. People always forget the other half, which is setting it back to zero when keyboard.A == false.

I know it's pseudocode, but xinput.Y is actually the Y button, not the Y axis. The Y axis is xinput.LeftStickY. And GlovePIE probably doesn't understand both braces all on one line yet. Sorry. Percentages have to be marked with % otherwise 20 means 2000%.

Anyway, after thinking about it a bit, I realised there's a much easier way:

if shift then var.speed = 100% else var.speed = 20%
xinput.LeftStick = WASD * var.speed


Vectors really do make life simple.
CarlKenner
 
Posts: 278
Joined: Sun 03 Jan, 2010 6:09 am

Re: Getting them to work?

Postby CarlKenner » Tue 09 Feb, 2010 9:04 pm

I should emphasise that you need GlovePIE 0.44, which hasn't been released yet, for that to work.
CarlKenner
 
Posts: 278
Joined: Sun 03 Jan, 2010 6:09 am


Return to Microsoft XBox 360 Controller

Who is online

Users browsing this forum: No registered users and 1 guest

cron