[quote=hoosiercub]I got this working with a wireless 360 controller and an old wireless PC adaptor I had from a headset a while back.
Only problems are the wandering cursor, little to not annoying, but would like to know how to adjust it to fix this, and as well, I'd like to know how to setup a command for the left-side Shift key, so i can crouch and not fall off of **** :-)
Otherwise, this is epic as fawk, and F-R-E-E unlike Xpadder, unless you're a pirate you can steal xPadder, and use that.[/quote]
Look down in my sig for the same thing. This guy hasn't logged in over a year. so he probably wont be replying. so I remade a new one. I made the code to let you crouch. This code was basicly for indev.
This is were the fix takes place. the deadzone operator or w/e actually has 2 inputs, an x (which for me is joystick1.pitch and yaw) and an a (.15 seems to work for me)that takes values within the range [-a, a] of the zero point and makes them 0 as well.
I guess the original author didnt need to account for the deadzone since the space was blank but just put a comma after joystick1.pitch or w/e your input is, and put a value of a somewhere between 1 and 0. 1 if you dont want the stick to move, .5 if you only wanna use half the stick, .1245679132 also works.
Download GlovePIE 0.43 to control PC games with Neurosky ThinkGear, Wild Divine Lightstones, Emotiv Epoc, Wiimotes (Wii Remotes), Wii Fit Balance Boards, Playstation 3 controllers (SIXAXIS, Dual Shock 3), Spaceball, Novint Falcon, eMagin Z800, Essential Reality P5 Virtual Reality Glove, 5DT Data Glove, Flock of Birds tracker, Polhemus trackers, etc.
Please read the following warning before downloading:
Warning! Use of this product (or any other electrical technology) will destroy the planet with Global Warming, unless you are using 100% Green or Nuclear power! Less than 100% is not enough to stop catastrophic climate change. Living near a green power station doesn't count, since that green power was already sold to someone else. Living near a nuclear power station DOES count as 100% green power, since there is no market for nuclear green power.
"Key.Q" is the letter on your keyboard the button on your controller corresponds to, in this case, it's Q.
Button3 is the button on your controller that will activate the aforementioned keyboard key, in this case, it's X.
Here's a list of what number means what for your xBox controller:
1 - A
2 - B
3 - X
4 - Y
5 - LB (Left Bumper)
6 - RB ( Right Bumper)
7 - Back (Left Arrow)
8 - Start (Right Arrow)
9 - Left Stick Pressed
10 - Right Stick Button
Sorry if this doesn't make sense, to clear it up, if you wanted to make the B button the jump button, you would have to find the default
Key.R = Joystick1.Button2
and replace it with
Key.Space = Joystick1.Button2
where space is the space bar, and button2 is the B button.