Monday, July 2, 2012

Xbox 360 Controller configuration for Minecraft in PC using JoyToKey

Updated - July 22, 2016
  1. Download the lastest Joytojey (5.8.9 at this moment)
  2. Open Joytokey, Select  File > New, and enter a profile name, we will write Minecraft.
    It will create a file called Minecraft.cfg in the same folder JoyToKey.exe is.
  3. Close JoyToKey (not only the window, right click on system tray icon and Terminate Joytokey (X))
  4. Open Minecraft.cfg with Notepad and replace it with this text
  5. [General]
    FileVersion=57
    NumberOfJoysticks=1
    Use8Axes=1
    UseDiagonalInput=0
    UsePOV=1
    Threshold=200
    KeySendMode=0
    NumberOfButtons=32
    DisplayMode=3
    UsePOV8Way=0
    Threshold2=200
    SoundFile=
    ImageFile=

    [Joystick 1]
    Axis1n=1, 41:00:00:00, 0.000, 0, 0
    Axis1p=1, 44:00:00:00, 0.000, 0, 0
    Axis2n=1, 57:00:00:00, 0.000, 0, 0
    Axis2p=1, 53:00:00:00, 0.000, 0, 0
    Axis3n=2,  -48,   0,   0, 0, 0, 0, 0.000, 0,  0, 1.0, 100, 0, 0, 0
    Axis3p=2,   48,   0,   0, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
    Axis5n=2,    0,   0,   0, 1, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
    Axis5p=2,    0,   0,   0, 0, 0, 1, 0.000, 0, 95, 1.0, 100, 0, 0, 0
    POV1-1=1, 74:00:00:00, 0.000, 0, 0
    POV1-3=1, 70:00:00:00, 0.000, 0, 0
    Button01=1, 20:00:00:00, 0.000, 0, 0
    Button02=1, 51:00:00:00, 0.000, 0, 0
    Button03=1, 45:00:00:00, 0.000, 0, 0
    Button04=1, 10:00:00:00, 0.000, 0, 0
    Button05=2,    0,   0,   9, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
    Button06=2,    0,   0,  -9, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
    Button07=1, 71:00:00:00, 0.000, 0, 0
    Button08=1, 1B:00:00:00, 0.000, 0, 0
    Button10=2,    0,   0,   0, 0, 1, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
    POV1-5=1, 7A:00:00:00, 0.000, 0, 0
    POV1-7=1, 72:00:00:00, 0.000, 0, 0
    Axis4n=2,    0, -47,   0, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
    Axis4p=2,    0,  47,   0, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0

    [Joystick 2]
    Axis1n=0
    Axis1p=0
    Axis2n=0
    Axis2p=0
    Axis3n=0
    Axis3p=0
    Axis4n=0
    Axis4p=0
    Axis5n=0
    Axis5p=0
    Axis6n=0
    Axis6p=0
    Axis7n=0
    Axis7p=0
    Axis8n=0
    Axis8p=0
    POV1-1=0
    POV1-2=0
    POV1-3=0
    POV1-4=0
    POV2-1=0
    POV2-2=0
    POV2-3=0
    POV2-4=0
    Up-Right=0
    Up- Left=0
    Dn- Left=0
    Dn-Right=0
    Button01=0
    Button02=0
    Button03=0
    Button04=0
    Button05=0
    Button06=0
    Button07=0
    Button08=0
    Button09=0
    Button10=0
    Button11=0
    Button12=0
    Button13=0
    Button14=0
    Button15=0
    Button16=0
    Button17=0
    Button18=0
    Button19=0
    Button20=0
    Button21=0
    Button22=0
    Button23=0
    Button24=0
    Button25=0
    Button26=0
    Button27=0
    Button28=0
    Button29=0
    Button30=0
    Button31=0
    Button32=0
  6. Open Joytokey
  7. Select Minecraft profile
  8. Have fun!

40 comments

  1. thank you so much! just tested it for about 20 seconds and it works perfect for me, i didn't understand joy to key at all and now i don't need to =D

    ReplyDelete
  2. The file isnt popping up in JoytoKey Please help!

    ReplyDelete
  3. I also dont have the "Others" tab on my joytokey (thats me above^)

    ReplyDelete
    Replies
    1. http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm

      I just downloaded JoyToKey from here and it has the "Others" tab, maybe you have an older version...

      Anyway, in order to save the file with the name "minecraft.cfg" file name extensions must be shown
      http://windows.microsoft.com/en-US/windows-vista/Show-or-hide-file-name-extensions
      If they are hidden you'll see minecraft.cfg but it actually will be minecraft.cfg.txt

      Delete
    2. When I try and go to the electracode link you put, it tells me the site is malicious, and when I ignore it and try and download J2K from there Chrome immediately deletes it for being malware.

      Delete
    3. Wow, it seems that electracode weren't the official website, although I was sure it was...
      thanks for the warning!

      I changed the link to http://joytokey.net/en/

      Delete
  4. YOU ARE MY HERO!!! I was about to return my controller to the store and then sit in the corner and cry! Thank you so much for this tutorial...

    ReplyDelete
    Replies
    1. the same happened to me thanks!!!!! Ben newman

      Delete
  5. Somehow "use item" and "attack" wasn't at the right place at the config above.
    Here's my config (fully commented for JoyToKey v5.5.1): http://pastebin.com/J8AN8EpG
    That config follows exactly the mapping from the picture above...

    ReplyDelete
    Replies
    1. Tested working with the Xbox 360 Wireless Controller for PC

      Delete
  6. had to switch L and R triggers between each other, using 5.6 works great

    ReplyDelete
  7. hello ive just made a copy of the cfg file .. but when i open it in joytokey all the mappings are empty. what am i doing wrong ?

    ReplyDelete
    Replies
    1. I dunno!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

      Delete
    2. It seems that Joytokey no longer looks for new profiles in the folder.

      You must create the profile inside program first, edit it and then restart the program.

      Delete
  8. Same here. i'm using twin pads.

    ReplyDelete
  9. my minecraft herobrine is a skeliton ahhhhhhhh!!!

    ReplyDelete
  10. none of those file names exist in the folders none of this is useful to me, please help

    ReplyDelete
  11. yay it didn't work'

    ReplyDelete
  12. i'm having a problem where the right stick controls are being switched with the triggers, anyone know how to fix that?

    ReplyDelete
    Replies
    1. I am having this problem also, did you find a fix?

      Delete
    2. You're right, I've just updated this tutorial to the latest Joytokey's version

      Delete
  13. fires right up. thank you and very simple. I chose create new profile named it minecraft joy2key aonfig and went to the folder saw the file I just made closed joytokey and opened the file with notepad. (file was blank) -of course. then highlighted your text above and copy pasted it into the file. saved and closed it re-opened joytokey et' viola!

    very good, thanks very much mate. :D

    ReplyDelete
  14. hey Thanks a lot this is amazing.. the only problem I'm having is the left joy stick for moving forward,Back,Left & Right.. doesn't work so my guy cant move!!!I'm using an Xbox 360 wired controller...
    Please Help I've been trying to do this for 3 weeks until I found this site.. and now so so close but feels so far away....
    PLEASE HELP ME!!!

    ReplyDelete
  15. I like it, it works. though I'd like tp see of there was a way to make it so that the left analog stick pressed down is shift like on console, and that when you are in the inventory, if you press y it would auto-place it into the crafting interface it, all of it. just the two things I can live without for now.

    ReplyDelete
    Replies
    1. I have this issue as well. I'm getting a handle slowly on how this programming works, but it's confusing. You are tracking multiple things simultaneously, the button / axis / mouse assignments, versus the gaming functions. I would gladly pay $1.99 for completed config layouts like this one. Just a thought. This one works fine for me, but the inventory functions do not match the current xbox configuration and the kids noticed it immediately. It seems a tad daunting to me to modify the inventory functions as it requires additional mouse configurations. I'm still trying to wrap my head around that idea. Mike

      Delete
  16. this is what I need - the whole - Chest or Crafting table open - keys change - can this be put into the controller?

    ReplyDelete
  17. guys can anyone give me configuration for skyrim

    ReplyDelete
  18. Hi,

    I'm a new poster on here.

    I get JoyToKeys_en working through GUI fine. I found the opening cfg files in notepad myself okay but then am lost so came looking...

    You see I run Windows 10 on a 2015 MacBook. Missing Gamepad Companion for OS-X I downloaded this program to play Steamworld Dig (and Spore). New use for it: Let's emulate the PageUp/PageDown/Home/End/Del/PrtScn keys (and any others I haven't thought of that Macbooks lack).

    Hex for PageDown is 76 (I think it said online http://www.ee.bgu.ac.il/~microlab/MicroLab/Labs/ScanCodes.htm - I am UK not US though?..). That value doesn't equal PageDown in JoyToKey GUI anyway. Assigned to the POV down key was P from copied config file. P should be 19h - not 50h.

    Lost. Adding that difference of 55d to the 76h results in 0xAD...?

    So wondered if you or anyone could point me to an advanced manual editing tutorial/resource kind of thing for JoyToKeys or ideally (if you already have access to it) a list of usable codes with their results. Or something of this kind?

    Any help much appreciated.

    I'll check back in a week or so.



    Downloaded last Sunday.

    cheers

    :)

    ReplyDelete
  19. right joysitck dont work for me

    ReplyDelete
  20. when i hold the left stick in any direction it registers as a single press and stops pls send help

    ReplyDelete
  21. I would set the mouse acceleration to 2x as well and change select from screenshot to slow mouse by 50% (for inventories)
    Also put f5 on right stick press and ctrl on left stick press idk why that wasnt in there already

    ReplyDelete
  22. So, I did everything listed. Worked fine in Joytokey, but when I fire up Minecraft nothing happens. Controls dont respond at all. Am I missing something?

    ReplyDelete
  23. Many, Many, Many x10000 Thanks you make my son happy

    ReplyDelete
  24. I need version 6 of JoyToKey. Can you update it please.

    ReplyDelete
  25. i dont understand with the complaints above, its worked fine for me, exactly like the picture, thank you so much

    ReplyDelete
  26. Thank You and I have a super provide: Where Do You Get The Money To Renovate A House whole home renovation

    ReplyDelete
  27. Great and I have a tremendous present: Where To Start Renovating House home renovation contract

    ReplyDelete