Pygame modules in p3d

I was unable to get pyglet to work in panda3d, but pygame was pretty straightforward. The issue was that I could not figure out how to get data from the joystick without opening a pyglet window. If anyone has figured this out, I would love to see it. I have not been able to find any working examples.

cheers,
Maria