Posted by: Josh | October 24, 2010

Minecontrol: Play Minecraft with an Xbox 360 (USB) controller

xbox360Update: Minecontrol 1.1.0!

—–

Enjoy Minecraft like it was made for the Microsoft Xbox 360 on your Windows/Mac/Linux machine with this Java app called Minecontrol. It takes gamepad input (using JInput) and converts it into mouse and keyboard commands.

What you’ll need

  • A copy of Minecraft
  • A wired or wireless Microsoft Xbox 360 controller (this or this), which can connect to your computer
  • A recent version of Java
  • Minecontrol (Java web start app, alternate installation below)

One, two, three

  1. Connect the controller to the computer
  2. Launch Minecontrol (Java web start app), accepting the certificate.
  3. Launch Minecraft and choose the world, with your mouse inside the game.

imageAssuming all went well, you should now be able to use the controller to perform almost any Minecraft action. Although not yet configurable, here’s the list of things you can do:

Left joystick – move/strafe
Right joystick – look around/move cursor
Left trigger – “right click”
Right trigger – “left click”
Left joystick button – walk
Right joystick button/A – jump
B – open inventory
X – discard item
Left shoulder – “scroll up”
Right shoulder – “scroll down”
Y – change perspective
Start – pause
Select – toggle right joystick sensitivity

A shortcut will be placed on your desktop and this app will auto update if necessary. You can also use this to control your mouse outside the game.

Alternate installation instructions (no auto-update)

Download the Minecontrol jar.
Download JInput and extract files to the same directory as the jar.
Run the jar.

Happy mining!

About these ads

Responses

  1. I’ve just tried running minecontrol on my snowleopard mac to no avail. and the seperates don’t seem to work either. i just get some unknown error.

  2. I think Mac OSX doesn’t come with the drivers needed to detect the controller. I searched this one up. Not sure if it’s going to be compatible with Java, but worth a try?

  3. Only the right joystick works for me.

  4. or you could use a mouse.

  5. When i run the jar. It says cant find main class? Help D:

  6. I look forward to this, I thought this would be really fun to try.

  7. Getting a Java error saying “JAR resources not signed by same certificate”

  8. Ok just had to update Java. Of course, now minecontrol can’t find my controller. Bad night to try this i guess

  9. Works a treat on Win 7 64 bit. Thank you.

  10. “Controller not found. Connect the joystick and restart Minecontrol.”

    6 times, and still wont find my controller… Fully updated drivers, Java, etc. Windows 7 64 bit.

  11. I’d love to try this out but… I only get “Controller not found. Connect the joystick and restart Minecontrol.”

    I made sure my version of Java was up to date, it now is, still no luck. Controller works great in other games.

    I have Vista 64 bit, any ideas?

  12. I have the same issue as Bobby, Zach, and James: “Controller not found. Connect the joystick and restart Minecontrol”. It’s plugged, works great in other games.

  13. Hmm, I’ll at least fix up that message so it’ll list out what devices Java does see – maybe the app is being a bit too picky about which device it uses.

    Also, transparent update for you Mac/Linux users: you should be able to launch the web start app now; I forgot to upload native support bits for those OSes.

    EDIT: update is up; launch your app and let me know what devices Java sees instead.

  14. it still doesn’t work…

    “Controller not found. Connect the joystick and restart Minecontrol” x10

  15. The latest version is supposed to add a list of input devices Java found while looking for your Xbox controller; I’m guessing you didn’t even get the list? What OS/32-or-64 bit?

  16. Minecontrol wont even open for me how do i go about this? i have windows 7 and the most recent version of java and when i double click it nothing happens.

  17. Running on Snow Leopard.
    Tells me to connect the controller, and gives a list of ones that it finds:
    3 Keyboards
    Controller (Gamepad)

    Obviously the game pad is the one I’m looking for… hut its not allowing me to select it, and not really responding that its a 360 controller. Help?

  18. Thanks Andrew. I’ve just patched it so if Java picks up a device called “Controller (Gamepad)”, it’ll use the same mappings on that. Relaunch your app (or just use the Web Start link in the post) to get the fix.

    @Kieron your browser (I’m looking at you, Chrome) might just download the Web Start .jnlp file and not do anything with it. If Java’s properly installed, you should be able to double-click the jnlp within Windows (or maybe boot up IE?). If you downloaded the .jar file directly, you’ll need to grab the rest of the JInput files also (see post).

  19. Of course, it’s not quite as good as playing it *on* an Xbox…

    http://twitpic.com/3zhy0f/full

  20. I am having a similar problem as Andrew. My controller is named “Controller 1 (Wireless)”, though.

  21. Hey i use a wireless controller and i cant get it to work. plz helps

  22. It was working fine for me, but then my computer got another virus from java acting weird, so I un-installed and re-installed Java, and now it will not work. :[

  23. I cant get the ps3 controller to work are you not supposed to use it.

  24. This is a great app for people like me who aren’t huge PC gamers. Naturally you sacrifice precision when you use this over a K/M combo, but the console style familiarity more than makes up for it.

    Occasionally I find the buttons stick, so you’ll be swinging your pickaxe far too often, or hopping on the spot, but pressing the button again fixes it. So yeah, not perfect, but definately useable and comfortable. I approve!

  25. I’m using a Madcatz Wired Xbox 360 Controller and it detects it but I cannot use it…

  26. Why don’t you all just use xpadder, it’s better than this and has much more detail and stuff.

  27. Would it be possible to get the source for this?

  28. Here’s what I’m getting. It’s saying it can’t find any controllers, yet “Controller (Gamepad)” is connected. http://cl.ly/1U012a0m1M2v2E0g101a

  29. “Controller Not Found.

    Detected Input devices:

    Wireless 360 Controller (Gamepad)”

    What the heck?!?

  30. I shall be one of what I hope to be many people to say this, but:

    This needs both custom mapping and controller selection. Badly!

  31. Works great when I boot my Mac in to windows but says cant find controller and wont work in OSX. Running snow leopard.

  32. Can’t get this to work either (on mac OS X with wired xbox 360 controller). I installed the os x driver from http://tattiebogle.net/. Now when I start minecontrol it lists “Controller (Gamepad)” in the list, but still says controller not found.

    If you (the author) don’t have a mac but are willing to share your code, I can try to figure out what’s going on…

  33. I don’t know how to start the minecontrol program. Any help?

  34. Won’t work on Linux. Junk.

  35. I’d love to see some ps3 controller support, no more wires! They already work, you just need to map the keys differently (all i can do now is move around, dig, jump and crouch)

  36. this works and its amazing thanks bro

  37. Oh yeaaa Minecraft with my X360 >Controller Yeaa !!

    THANKS

  38. …yeah…I can’t craft, the items won’t drag into slots. They just auto fill the hot key bar and not the crafting square.

  39. You might have the walk button (shift) toggled

  40. Thanks. Better Linux & Mac support is something I’d like to pursue.

  41. This whole project is open source and is linked in one of the original posts. Thanks for your interest!

  42. This was a thing I did for v1.1 – hope it worked out for you

  43. For v1.1 I added velocity to the joystick axes, so you can be somewhere between standing still and moving/looking at full speed, without using the crouch button. And the buttons should stick less.

  44. You can now (says Enkera in the comments), though I’ve never personally tested against one. Hope it works out

  45. Tried this on linux, cannot find any usb controllers. Using Ubuntu 11.04

  46. My right analog stick keeps moving the mouse cursor about on my imac, how do I stop it moving the cursor?

  47. hey this is working great, although I have noticed that the B button is binded to ‘I’, and inventory is now e. Is it possible to fix this?

  48. How do I save my settings if I remap the buttons from default?
    Everything I start minecontrol it reverts to default.

  49. @Harley – Go into the options on Minecraft and change it back to I in the control section fixes it.

  50. Not sure how much I can say ‘I Love You’ very very good applet you have there. SSSSssssss would be a shame if anything were to happen to it ;)

  51. followed the alternate instructions, but it’s not detecting any input devices. running kubuntu 11.04 with a usb controller

  52. Nice work! Works perfectly – my son is very happy :)

    Thanks for making this available.

  53. Hmmm, this seems like an awesome idea, but I can’t find the Xbox 360 Controller in the “” area. Any solutions?

  54. after I installed this app. I can only use the right mouse on items that allow right mouse clicking on itself this is not a problem but now i cant use the lift mod in my online server so that’s not fun. I reinstalled minecraft several times and even ran a cc cleaner but still not fixed. PLEASE HELP

  55. Good job idiot, now I have your stupid piece of **** stuck to my desktop and it didnt even work properly when I tried it. **** you

    * thank you for your feedback, but I had to censor your post. -josh *

  56. Hi Josh,

    I’m on a Macbook Pro and only some buttons work seem to work. The right analog only works for like 10seconds then it just doesn’t respond anymore.
    Also, the ‘A’ (left clic) did work for like 5min.

    Is there something to prevent this from happening?

    Thanks.

  57. On a Mac I have the same problem where you can only turn a short amount in any direction. I took a look at the code and I think this happens because the mouse pointer is being held at the sides of the window, limiting how far you can turn. Not sure why this works on Windows but not the Mac, must be some difference in the java.awt.robot classes on each.

  58. there is no option to go assign a “open inventory” button

  59. this works perfect for me i just dont like it as much as i thought lol, i used an afterglow xbox 360 controller and i just dont like the way it feels idk why, im better off with keyboard and mouse :)

  60. it doesn’t fucking work but why?

  61. what do i look under to find minecraft on xbox

  62. Doesn’t recognize any controller under Win 7 64 with Java 7 64. WTF

  63. Hey Josh,
    Program works fine and all except the slight stick in the “a” button on the left anologe stick, but any who you should add the “T” button for talk and you shold add Dpad capibilitys. just thinking it might be cool

  64. Hey Josh minecontrol doesnt seem to detect my triggers but other programs do and suggestions of how to fix?

  65. You need the Microsoft plugin that let’s you use your controller. You can’t just plug and play

  66. In Linux use alternate instructions and run with:

    java -Djava.library.path=. -jar Minecontrol.jar

    or else it doesn’t find JInput

  67. Hmm, does it not work with a charge and play controller?

  68. Jinput cannot be downloaded anymore, and the Minecontrol jar file won’t open at all.

  69. hey this is awesome but theres one problem- there is no way to ‘go down’ while flying in creative mode. I may note that sprinting works though.

  70. With my logitech dual action controler i have everything set up but i cant the the mouse to move
    i have to use the actual mouse

  71. the right analog stick only works when i press it to the right and it only destroys D: i cant even place items

  72. now that i installed it on diff laptop it does not even work

  73. Why won’t the left thumbstick work, I can do everything but move around? My controller works fine, I use it on the xbox all the time, but for some reason the left stick does nothing but crouch when I click it in.

  74. Does this work with the Plug n’ Play Kit?

  75. Guys.. just use joytokey its the best alternative atm. This app is obviously not receiving any support by the author. If the author wishes to open source his application, I would fix it in a heartbeat.

  76. OK NVM i’m an idiot http://javadocs.wordpress.com/2011/04/17/minecontrol-for-minecraft-1-1-1-released

  77. mine only works when I am on the minecontrol window… o.o

  78. Will this work with an xbox 360′s play & charge kit?

  79. Um, I have a new xbox controler, “Xbox 360 afterglow” that I bought at gamestop and the app wont pick it up but my comp will. Please explain to me why this is.

  80. and to anser ur question human no it needs a wireless reciver or a wired controler. ur comp dosen’t pick up the controler as a controler. just charges it with the play kit.

  81. Thank you Josh. Your program worked very well for me, using a USB Xbox controller. One thing, the program designates “I” for inventory, while the game opens inventory with “E”. This was easily accounted for by opening my in game options and setting inventory to “I”. I can’t wait to play more, I just got the game today! Thanks again, you rock!

  82. This application doesnt work for me. Web start only shows up my mouse and keyboard, and downloading the standalone (jinput_dist_20090331) detects no devices. I have a wired xbox controller with the latest windows drivers installed to pick it up. I have latest java (java 7 i believe it is now) 64bit win7.

  83. I apologise, downloading jinput i am so used to list ordering themselves as newest first i failed to notice the OLDEST is at the top, downloading jinput_nightly_20120131 works fine for me :) Thank you for this good piece of work :)

  84. Sorry to make a third post, i am wondering if it is possible to add in extra key links. I mean having a limited choice on which buttons do what is a bit restricting, for example i have a mod that has a craft guide, for which the key is G. The controllers d-pad isnt used and i could simply set one of those to G. Is there a way of doing this? Thanks

  85. Where is the directory for the jar file?

  86. Who thought it would be funny to have no inventory button? this is stupid, if i wanted to use the keyboard to pull up my inventory, i wouldnt have plugged in my controller in, in the first place. now i know i can change my button mapping, but for some reason, ‘E’ isnt an option to change one of my buttons to. Let me know if there is something i am doing wrong.

  87. @Ricky, @Josh, @Nicole: re: d-pad and extra keys — just wait, you may be pleasantly suprised .
    @Caleb: not sure what the question is, did Java Web Start kick in for you to automatically download the app?

  88. Could you please make it so that you can select what key to any button? That kind of thing is very essential if you want a custom set up or if you are using mods like Smart Moving, Rei’s Minimap, Equivalent Exchange, or anything that adds controls.

  89. an i use wired contrller?

  90. can i use wired controller

  91. Its very glitchey for me and it pissess the tuck out of me

  92. woah, it makes the mouse stuck on left side of screen for my whole computer, i have to jam my controllers stick over and try to close the program, im using windows xp 32 bit

  93. Don’t bother with this. It doesn’t work as advertised, hell running it prevents my hardware keyboard from working and it doesn’t detect my controller. Xpadder is far far better

  94. I’m running this program on my mac – snow leopard. However, I’m not seeing the trigger customization options in my button mapping; only the shoulder buttons. I’ve updated the software but it still doesn’t seem to be working. Am I missing something?

  95. Works fine except for when i ,move i tend to slide all over the place not sure why. Also seems to dubble my ingame speed when i run far enough on flat ground.

  96. is it good for minecraft
    1.3.1

  97. it did not work at all for my xbox 360 im 8 and im bored

  98. Just a suggestion that u should enable the d-pad so people can use that to play as well

  99. @shauna this is not for X360s this is for controllers hooked to computers
    @nathan it works for any version of MC
    @david that would be the joystick velocity

  100. @6677 Xpadder is not free or open source, this is both, and an excursion in to x360 controllers for a computer

  101. Old versions of xpadder were available for free, I still have a copy.

    This software slows my machine down and seems to lock input from my hardware keyboard until I reboot, tested on 4 machines. I call that malware…

  102. [...] Minecontrol for Minecraft http://javadocs.wordpress.com/2010/10/24/minecontrol-play-minecraft-with-an-xbox-360-usb-controller/ [...]

  103. Needs to have porportional/exponential control levels for the mouse, so that you don’t have to tap it rapidly to move it around when messing around inside chests, but can be used quickly when in combat, without having to pause the game to change the sensitivity, which is not always an option on servers.

  104. This doesn’t work properly on Mac OSX. The right joystick moves the mouse for me, but that doesn’t translate to the game, and the left and right mouse buttons are both mapped onto the left trigger button with not pressed being left and pressed being right. that’s probably due to the driver using a different way of handling the trigger buttons on Mac. You should make a way to disable the trigger buttons and make the four d pad buttons usable.

  105. How do i uninstall this crap

  106. I personally Feel blog, “Minecontrol: Play Minecraft with an Xbox 360
    (USB) controller Josh Carriers Blag” was correctly
    written! I reallycan’t see eye to eye together with u even more! Finally looks like Iuncovered a web-site really worth browsing. Thank you, Pauline

  107. That’ really a very nice tool! Thousand thanks for it!
    However it would be nice to customize what button does what.

    Would be cool if you implemented that (:

  108. Your link to the Jinput page is dead. I managed to find nightly builds on my own, but I’m not 100% sure if it’ll work. Is this application meant for a specific version of Jinput? What version of Minecraft does this work for? Those two questions are missing from your post.

  109. I found out how to run Minecontrol for Minecraft without wifi was not able to run minecontrol while my wifi was down so I started looking and I found out a way so if anyone is interested just email me and ill show you how.

  110. It works fine, I could use it with more than just Minecraft, for example I could play other games that uses similar controls, and use it as a mouse for my computer… This is the best ever!

  111. Make a version of MineControl for other games and other
    addable renameable control profiles.

    Even though Minecontrol works for all games anyways. I tested.
    I would like to see other games and profiles for those games to be there
    so I don’t need to keep swithching my button mappings.

    Oh and fix the problem where the cursor moves on its own!!!!

  112. the left and right clicks are reversed when playing on the controller. in the settings there is no way to adjust the left and right trigger settings, however, i’d like to be able to. please include that ability in the next update. (im using a ps3 controller in conjunction with DS3 tool

  113. I can’t access JIinput it says the DNS lookup failed

  114. How do I make the left joystick on the xbox control to walk?

  115. Reblogged this on jamestarran and commented:
    This thing’s amazing for when I play MC!

  116. Thanks for your marvelous posting! I definitely enjoyed reading it, you are a great author.
    I will remember to bookmark your blog and will often come back down the road.
    I want to encourage yourself to continue your great writing, have a nice morning!

  117. I couldn’t refrain from commenting. Perfectly written!

    Our blog page regarding modern technology: home Theater speaker System

  118. WTF DID YOU DO!!! EVERY SINCE I GOT THIS PROGRAM MY COMPUTERS BEEN DOING FUCKED UP THINGS


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: