Playing Minecraft with a controller, except the controls are all wrong

//ads -- adsterra.com -- native banner
?>
So, I just got a PC X-Box controller, I downloaded JoyToKey and a config file for Minecraft, but when I move the stick to the left, it goes up. When I move it down, it goes right etc. Can someone please help me?
Best Answer
The OP's answer originally posted in the question body:
I fixed it, It was the wrong joystick number.
Pictures about "Playing Minecraft with a controller, except the controls are all wrong"



How do I get my controller to work on Minecraft?
Here's the simple process of setting up a controller to use with Minecraft Java on PC:Is Minecraft good with controller?
Playing Minecraft with Controller vs Keyboard and Mouse The quick answer. If you want more precision in your movements, then a keyboard and mouse is the way to go. But if you want to be able to just relax on the couch and play, then using a controller would be better.Can you play Mojang Minecraft with a controller?
As mentioned above, Minecraft Java Edition doesn't have native controller support. Thus, to use it in the game, you have to install third-party mods. One of the most popular mods for this purpose is Controllable.Bedwars But If I Die, My Controller Changes
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: MART PRODUCTION, ANTONI SHKRABA, Tima Miroshnichenko, Alena Darmel