Hi Everyone, I would like to get some help with these questions. I need to make a 2D game where you use 2 analog joysticks (like the ps2 ones) , one for moving (up right down left) and another one to move the character's arm 360° for aiming, i dont understand how to stablish that from certain values in X and in Y are for left right up or down, so if you could give me a hand i would be very grateful, thanks and sorry for my english
Have you wired the 3 potentiometers (at least I assume there are 3 from your description) to Arduino analogue inputs and read the values ?
i dont understand how to stablish that from certain values in X and in Y are for left right up or down,
You can't, with JUST the x and y values. Each pair of x and y values must also include something that means up/down, left/right, or wave like a fool.