Using a joystick in ROS2

How can I control the joint_states of a robot using a gamepad joystick to manipulate the robot in RViz?

Hi,

I myself haven’t used this but have a look at these resources, its a good place to start: