sensor_msgs/Joy Message

File: sensor_msgs/Joy.msg

Raw Message Definition

# Reports the state of a joysticks axes and buttons.
Header header           # timestamp in the header is the time the data is received from the joystick
float32[] axes          # the axes measurements from a joystick
int32[] buttons         # the buttons measurements from a joystick 

Compact Message Definition

std_msgs/Header header
float32[] axes
int32[] buttons