Right now the arrow buttons (d-pad, or Pov as it is called by LWJGL) are used only for menu and inventory navigation.
What you can change are button mappings and axis (analog sticks) mapping.
Each axis is represented with an id, and can have the floating point value from -1 to 1. -1 means it's a the maximum position to the one side, 0 that it's not moving, and 1 = maximum position to the other side. So, one analog stick has 2 axes, usually named X and Y axis.
What you do is find out the id of the axis you want to use to move to the left/right and then assign the joyMovementAxisX to that axis id.
You do the same for the up/down axis, but assign the id to the joyMovementAxisY.
It's not possible that the left/right and up/down are on the same axis. Are you referring to the the values outputted as PovX and PovY? That's the d-pad, and the number that follows is not the id but the value (-1,0,1). But as I said earlier, you can't (for now) re-assign the functionalities of the d-pad, you need to move with the analog stick.
After I rework the input handling it should be possible to assign any input action to any in-game action, like for example moving with the buttons and jumping with the axis :). Until that time we're limited to moving with the axes, navigating with the d-pad and doing actions with the buttons.
@b3k I understand your problem. Unfortunately there's nothing you can do right now, except maybe try to find a different driver.
I plan to rewrite the input handling which will resolve your problem, but for now there is no quick solution
-sometimes a button will start spamming on its own, until i click the button again (makes it annoying as it starts placing my placeable items like stone,wood,dirt,etc. at random) Note: this doesn't happen on other games i play with the controller.
-can navigate menu's but can't click the options
all i could really think of is making the menu/inventory navigation more streamlined...otherwise thank you so much! great work!
instead of lb and rb can you make it hit with the trigger
you should make the controls exactly like the xbox
Firstly, as I repeated multiple times, currently it's not possible to use triggers. Might be in the future.
Secondly, I won't make the controls like on the xbox for the plenty of reasons. Not everybody has an xbox controller. Not all features present in the 360 version are in my mod and vice-versa. Most importantly - this is not a clone of 360 version. It started separately for the sole purpose of bringing the controller to the Minecraft and thus a way to play "split screen" on a PC.
If you like the controls on the 360 version you are free to change them to fit your liking in the options file.
-sometimes a button will start spamming on its own, until i click the button again (makes it annoying as it starts placing my placeable items like stone,wood,dirt,etc. at random) Note: this doesn't happen on other games i play with the controller.
It happens for me too, but rarely, so it's hard to pin down and debug.
How can I make this work with cracked minecraft?
Can anyone help me please?
Nevermind I figured it out, but theres one thing.. Everything works perfect except for something..
How do I configure it to control menus? [I use a PS3 Sixaxis Controller]
How to set the buttons for switching items held in hand?
You can't, it's bound to the d-pad. But the next version is already in the works and it will support re-mapping any button, action, axis. I just need to test it out a bit more.
I commented a while ago about it being forge compatible. I was wondering if it is compatible with forge yet?
No, not for now, I haven't done any work on mod compatibility yet, and I'm afraid that until the official modding api comes out it'll be hard to pull it out. Input handling in Minecraft is scattered around so I need to modify a large number of classes, especially with the inventory and menu navigation. It might be doable though, haven't tried hard.
Thanks for the mod! After playing on my cbox with friends and family I've been wishing for the exact same experience on the PC version, and this comes very close. I've installed the mod with no errors and everything from what i tested seem to run just great while using 1 xbox wireless controller, the controls feel very fluid compared to emulating applications.
I've got 4 wireless xbox controllers connected to my wireless microsoft receiver and the log reads that it detects them all and what im trying to do is run 4 instances of minecraft to play 4-player split screen, they run good but the problem im experiencing is only controller 1 is able to control anything, i had 2 instances set up while testing and controller 1 was controlling both instances simultaneously and i dont know how to get the other controllers to control each instance individually.
The other problem is i couldnt get more than one instance to join my server at a time as it kept logging the other instance out, i followed the video except for the part where one instance logs into an MC account and the others play offline, i just did them all play off line without logging in on one of them, is that my problem? I haven't gotten back home to try again but wanted to get some answers before i do. Thanks
Thanks for the mod! After playing on my cbox with friends and family I've been wishing for the exact same experience on the PC version, and this comes very close. I've installed the mod with no errors and everything from what i tested seem to run just great while using 1 xbox wireless controller, the controls feel very fluid compared to emulating applications.
I've got 4 wireless xbox controllers connected to my wireless microsoft receiver and the log reads that it detects them all and what im trying to do is run 4 instances of minecraft to play 4-player split screen, they run good but the problem im experiencing is only controller 1 is able to control anything, i had 2 instances set up while testing and controller 1 was controlling both instances simultaneously and i dont know how to get the other controllers to control each instance individually.
The other problem is i couldnt get more than one instance to join my server at a time as it kept logging the other instance out, i followed the video except for the part where one instance logs into an MC account and the others play offline, i just did them all play off line without logging in on one of them, is that my problem? I haven't gotten back home to try again but wanted to get some answers before i do. Thanks
I'm glad you tried and enjoyed it. As for the multiple controller issue you need to edit the joyNo value in options.txt. Each player needs to have it set to a different value. 0 = first controller, 1 = second controller, etc. Bear in mind that the Minecraft sometimes detects the keyboards and headsets as controllers, so watch out the console output for the correct values, as the mod prints out the controller id's for all devices on startup.
For the server kicking out the players issue I have no idea. Have you set the online-mode to false in the server.properties file?
I'm following this mod for a while now but I never found the time to try it but today I got some spare time so i thought lets give it a shot.
So I install the mod and started the game. First time starting everything worked right out of the box! (x360 controller) Second time i tryed to start the game black screen :S It DID work the first time... any idea what the problem might be? I used a CLEAN minecraft before I get all those useless comments...
You don't have to use the portable version, put by doing so you get the console output which is handy to debug the problems.
As for writing the detailed installation guide, I might do so after the next release, as I have rewrote the big parts of the mod especially around the configuration files.
If anybody else wants to write the detailed instructions for the 0.10 feel free to do so . I'll personally thank you and add them to the OP.
What you can change are button mappings and axis (analog sticks) mapping.
Each axis is represented with an id, and can have the floating point value from -1 to 1. -1 means it's a the maximum position to the one side, 0 that it's not moving, and 1 = maximum position to the other side. So, one analog stick has 2 axes, usually named X and Y axis.
What you do is find out the id of the axis you want to use to move to the left/right and then assign the joyMovementAxisX to that axis id.
You do the same for the up/down axis, but assign the id to the joyMovementAxisY.
It's not possible that the left/right and up/down are on the same axis. Are you referring to the the values outputted as PovX and PovY? That's the d-pad, and the number that follows is not the id but the value (-1,0,1). But as I said earlier, you can't (for now) re-assign the functionalities of the d-pad, you need to move with the analog stick.
I plan to rewrite the input handling which will resolve your problem, but for now there is no quick solution
-sometimes a button will start spamming on its own, until i click the button again (makes it annoying as it starts placing my placeable items like stone,wood,dirt,etc. at random) Note: this doesn't happen on other games i play with the controller.
-can navigate menu's but can't click the options
all i could really think of is making the menu/inventory navigation more streamlined...otherwise thank you so much! great work!
Firstly, as I repeated multiple times, currently it's not possible to use triggers. Might be in the future.
Secondly, I won't make the controls like on the xbox for the plenty of reasons. Not everybody has an xbox controller. Not all features present in the 360 version are in my mod and vice-versa. Most importantly - this is not a clone of 360 version. It started separately for the sole purpose of bringing the controller to the Minecraft and thus a way to play "split screen" on a PC.
If you like the controls on the 360 version you are free to change them to fit your liking in the options file.
It happens for me too, but rarely, so it's hard to pin down and debug.
Clicking in the menu is done with the same button as clicking in the inventory. It doesn't work? That's your options.txt?
How can I make this work with cracked minecraft?Can anyone help me please?
Nevermind I figured it out, but theres one thing.. Everything works perfect except for something..How do I configure it to control menus? [I use a PS3 Sixaxis Controller]
IT DOESNT WORK WITH CRACKED MINECRAFT
You can't, it's bound to the d-pad. But the next version is already in the works and it will support re-mapping any button, action, axis. I just need to test it out a bit more.
When specifically?
No, not for now, I haven't done any work on mod compatibility yet, and I'm afraid that until the official modding api comes out it'll be hard to pull it out. Input handling in Minecraft is scattered around so I need to modify a large number of classes, especially with the inventory and menu navigation. It might be doable though, haven't tried hard.
I've got 4 wireless xbox controllers connected to my wireless microsoft receiver and the log reads that it detects them all and what im trying to do is run 4 instances of minecraft to play 4-player split screen, they run good but the problem im experiencing is only controller 1 is able to control anything, i had 2 instances set up while testing and controller 1 was controlling both instances simultaneously and i dont know how to get the other controllers to control each instance individually.
The other problem is i couldnt get more than one instance to join my server at a time as it kept logging the other instance out, i followed the video except for the part where one instance logs into an MC account and the others play offline, i just did them all play off line without logging in on one of them, is that my problem? I haven't gotten back home to try again but wanted to get some answers before i do. Thanks
I'm glad you tried and enjoyed it. As for the multiple controller issue you need to edit the joyNo value in options.txt. Each player needs to have it set to a different value. 0 = first controller, 1 = second controller, etc. Bear in mind that the Minecraft sometimes detects the keyboards and headsets as controllers, so watch out the console output for the correct values, as the mod prints out the controller id's for all devices on startup.
For the server kicking out the players issue I have no idea. Have you set the online-mode to false in the server.properties file?
Did you get any errors in the command window?
As for writing the detailed installation guide, I might do so after the next release, as I have rewrote the big parts of the mod especially around the configuration files.
If anybody else wants to write the detailed instructions for the 0.10 feel free to do so . I'll personally thank you and add them to the OP.