Use your PC with an Xbox 360 controller/other consoles  (Read 10634 times)

0 Members and 1 Guest are viewing this topic.

Kaldorain

I know MineCraft is coming to Xbox, but for those of you who hate waiting, I have a guide for you. This guide for allowing mouse movement to be controller via a controller. This script that I have typed up is specifically only for 360 controllers, as I have no other use for it. That being said, this program works for the following controllers (that I know of):
Wii Remotes
PS3 Controller (If you happen to support the corrupt company of Sony O.O)
Game controller guitars (RB/GH/Third Party Controllers like Mad Catz)
Game Controller Drums ("^^^^^")
Old School Gamepads (Those gamepads that work only with Windows 98 or below) (Yes, I still have these as I ditched PC a long time ago =P)
DJ Hero Turntables


I'm pretty sure anything else will work, just modify the script to suit your playing style and controller.

STEPS TO SETTING UP:
1. Download GlovePie application : http://glovepie.org/GlovePIEWithEmotiv043.zip
2. You will need to install and run the application. To do so, you need to unzip the folder to a location (Example: your desktop)
3. To run the program, open the file labeled as GlovePie.EXE
4. If you are NOT running Windows 98 (As this is a program designed for that system), go to the TroubleShooter tab in the program, and pick FAKE WINDOWS 98.
5. You will need to copy and paste this code into the box, and then I suggest saving it. Let it be known, every time you close the program, you MUST pick FAKE WINDOWS 98. Or else this program will not work.

This is the script/code you will use :


                               //Settings
var.TurnSpeed = 22 //Sensitivity used for right joystick
var.InvSpeed = 36 //Sensitivity used for POVHat - supposed to make it move one square


//Rest is actual code

//Basic movement (Left Stick)
Key.W = EnsureMapRange(Joystick1.y, 0,-1, 0,1)
Key.A = EnsureMapRange(Joystick1.x, 0,-1, 0,1)
Key.S = EnsureMapRange(Joystick1.y, 0,1, 0,1)
Key.D = EnsureMapRange(Joystick1.x, 0,1, 0,1)

//Buttons
Key.Space = Joystick1.Button1 //A
/*This entire block makes it wait a moment, then move the mouse down.
  Makes it more centered on the inventory items but results in the
  view shifting slightly when coming out of inventory*/
if (Pressed(Joystick1.Button7)){ //Back
   Key.I=1
   Key.B=1
   Wait(50ms)
   Mouse.DirectInputY=Mouse.DirectInputY + var.InvSpeed/2
}else{
   Key.I=0
   Key.B=0
}
//Comment out the above if-else block and uncomment the next two lines to disable
//Key.I = Joystick1.Button7
//Key.B = Joystick1.Button7

Key.Escape = Joystick1.Button8 //Start

Key.Shift = Joystick1.Button9 //Left Stick Pressed
Key.Enter = Joystick1.Button4 //Y
Key.R = Joystick1.Button2 //B
Key.F = Joystick1.Button3 //X

//Mouse Stuff
//Turning (Right Stick)
Mouse.DirectInputX = Mouse.DirectInputX + var.TurnSpeed*deadzone(Joystick1.pitch)//Joystick1.Axis4)
Mouse.DirectInputY = Mouse.DirectInputY + var.TurnSpeed*deadzone(Joystick1.yaw)//Axis5)
//Clicking
Mouse.LeftButton = EnsureMapRange(Joystick1.z, 0,-1, 0,1) //RT
Mouse.RightButton = EnsureMapRange(Joystick1.z, 0,1, 0,1) //LT
Mouse.MiddleButton = Joystick.Button10 //Right Stick Button
//Equipped Inventory Navigation
Mouse.WheelUp = Joystick1.Button5 //LB
Mouse.WheelDown = Joystick1.Button6 //RB
//Inventory Navigation (POV Hat)
Mouse.DirectInputX = Mouse.DirectInputX + var.InvSpeed*Pressed(Joystick1.Pov1x)*Joystick1.Pov1x
Mouse.DirectInputY = Mouse.DirectInputY + var.InvSpeed*Pressed(Joystick1.Pov1y)*Joystick1.Pov1y



The code itself has things beside it, so it should be self explanatory. If help be needed to change something, post it here, and I will try to help to the best of my abilities. (Which are lacking)

6. Then you should click RUN!, and you'll have to use your regular mouse to minimize the program (You can't use the controller for some reason...)


THE CONTROLS!:
Your left stick is now W,A,S,D. So when typing, avoid hitting this as it will spam your whole screen xD
Your right stick now controllers the mouse. This means you can navigate your entire computer, from this controller.
Right TRIGGER is left click
Left TRIGGER is right click
I suggest getting a wireless/wired external keyboard. I have my laptop set up to dual screens, and then I lay back on my comfy couch with the keyboard so I can type from a far, and along with this program, use my mouse from afar.

CONTROLS IN MINECRAFT:
For those of you who like Oblivion, this is the PERFECT control scheme for you.

A = Jump
B = Inventory/Backpack
Y = Drop current item (useful to annoy people with, or drop tools to friends from afar with PRECISION!)
X = Toggles Fog (So you can change on the fly, depending on the lag in the current area)
Right TRIGGER = Use to BREAK blocks
Left TRIGGER = Use to SET blocks
Left stick button (crouch in CoD, Oblivion, Any other FPS) = Sneak/Crouch (Allows you to get as far as you can on most blocks and will not allow you to fall, there are exceptions)
D-Pad = Tweaks with camera for those precise measurements, or to aim at those blocks that you can't seem to target because you suck at FPS with a controller, and therefore shouldn't even be using this program in the first place! =D

Cons :
Sometimes it's hard to aim your mouse with a stick, especially if you suck at controllers, or in example : highlighting words to copy and paste.
It's not 120% accurate like a mouse
You have to have a mouse to start the program, there is no way around that, at least that I have found. If anyone finds out, let me know ASAP please!!!

Pros:
You get to feel more comfortable if you are a console person and not a PC (no difference besides one is easier to mod than the other, and one is 100% controlled by a controller or mouse)
Xbox is awesome!
This will feel like you're playing on a console
You can play from afar
Easier to play with the control scheme, once you get used to a controller
Will either speed up or slow down your building rates

I hope everyone enjoys this guide, if any help is needed let me know. If you'd like to change the controls in game, just go to pause>options>controls> pick what action you'd like to change>press the button on the controller you wish it to be.
Simple, easy, and lazy. The TRUE American way!
« Last Edit: 8 Jun 2011, 00:02:02 by Kaldorain »

spilly420

Re: Use your PC with an Xbox 360 controller/other consoles
« Reply #1 on: 29 Jun 2011, 08:38:42 »
saweeeet thanks dude

MatsukaAtsushi

Re: Use your PC with an Xbox 360 controller/other consoles
« Reply #2 on: 4 Feb 2012, 19:10:51 »
xPadder works better for PC users. I find it a lot less confusing. Just a suggestion. Although I prefer PC fps style controls, so I will not be using a controller. lol

Nebih

Re: Use your PC with an Xbox 360 controller/other consoles
« Reply #3 on: 5 Jun 2012, 21:07:35 »
does it work with gamecube controllers?

Thecheatgamer1

Re: Use your PC with an Xbox 360 controller/other consoles
« Reply #4 on: 5 Jun 2012, 21:11:20 »
its already out

Nebih

Re: Use your PC with an Xbox 360 controller/other consoles
« Reply #5 on: 5 Jun 2012, 21:35:34 »
Minecraft got released for GameCube?

masterrbc

Re: Use your PC with an Xbox 360 controller/other consoles
« Reply #6 on: 5 Jun 2012, 22:30:58 »
Minecraft got released for GameCube?
No, minecraft has been released for the Xbox 360

Nebih

Re: Use your PC with an Xbox 360 controller/other consoles
« Reply #7 on: 5 Jun 2012, 22:38:54 »
I asked if It works with GAMECUBE controllers. I don't own an Xbox.