Neil Wallace schrieb:

>> I'm trying to write a program that creates an onscreen keyboard that 
>> uses an 2-analogue stick joypad for input.

1. Create a class which derives from QObject
2. Add a timer in there which calls a method to poll the joystick
3. Emit a signal in that method with the joystick information

Now you can create the object, setup the timer and subscribe to the
signal to use the information in as many places as you like.

Regards,

-- 
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://darkviews.blogspot.com/          http://www.pdark.de/
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to