Single joystick project

Hello
I'd like to add a joystick to my mouse like this person did: https://www.reddit.com/r/disabledgamers/comments/6tmnk0/25_button_thumbstick_gaming_mouse_mod/
However i can't seem to find any guide on how to do it. In particular the part where you connect the wires.
I found this guide, i dont know if its what i need: http://www.instructables.com/id/Add-a-little-two-analog-axis-thumb-joystick-to-you/
Could you link any guide or manual to understand how to do this?
I only need the joystick, no need for the 25 buttons. Maybe 2 buttons but that is not essential.

Could anyone help?
Thanks
amadeo

Your joystick has two potentiometers. See this tutorial about using one potentometer. When you get that working, add the second potentiometer. You will be using the analog read to get a value for the voltage from the moving connection inside the joystick potentiometer.

Paul

Paul_KD7HB:
Your joystick has two potentiometers. See this tutorial about using one potentometer. When you get that working, add the second potentiometer. You will be using the analog read to get a value for the voltage from the moving connection inside the joystick potentiometer.

Paul

Thanks for reply.
I'm gettings these things:
LEONARDO R3 ATMEGA32U4
40 DUPONT M-F cables
module board PS2 GAME JOYSTICK JOYPAD ARDUINO ICP Modulo Joystick resistivo X-Y joypad per arduino / pic - ART. CR04 | eBay
some 10ohm resistors for the joystick buttons and eventually some other buttons.

would i need anything else?