@mitu Thanks for your reply. I finally figured it out the problem was PEBKAC!!! I had the joystick plugged into the wrong 5 pin port. I thought there was only the one and I was wrong. Totally my bad but thanks for the help. I'm going to leave this up since I could not find any solutions to this problem anywhere and it might help someone.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.