Recommended · for beginners
How to connect and use an Analog Joystick with an Arduino - Tutorial
Why people recommend it
A basic tutorial for connecting an analogue joystick module to an Arduino, used by hobbyists starting controller projects and those troubleshooting erratic readings.
Watch for: Covers the Arduino side only, not linking onward to a Pi
In their words
There is a video which appears to be about your joystick.
Nick Gammon on arduino.stackexchange.com, Sept 2021. CC BY-SA.