I have this thumb joystick with pins vrx, vry, sw, and 5v and gnd. Here are the connections:
5v -> 5v
GND -> GND
VRx -> A1
VRy -> A0<