JoyStick Implemetation in GLUT

Is there any function which can detect
the JoyStick’s data changed?
After it detected,it also call the renderscene

Like glutKeyboardFunc which can detect the
Keyboard’s data changed.
I checked all the GLUT Callback Registration,
I found nothing about the JoyStick.
Anyone helps me!!
Thanks A Lot!!!