This is my attempt at making a joystick that I will be using in future projects, you can also take the code if you like to make a joystick for yourself in your games! I hope I could help if you needed one!
Credits to griffpatch on YouTube for the code this would have probably taken me a whole day to figure out and make if it wasn’t for him. Anyways bye!