Joystick question

Hi SDL users,

Is there some sdl examples that use joysticks (beside from the introduction example)?

I really want to know how to use joystick in openGL. is there, besides examples, some tutorials about this?

thanks in advance

btang

Does anybody have advice experience in Working with multiple Joysticks
with libSDL… Remembering settings per joystick/ ignoring certain
joysticks etc… I am working through this and want to get a feel for
any pitfalls I might find myself falling into