PDA

View Full Version : gamepad problem


shai
08-25-2005, 12:58 PM
Hello,

I was just wondering how I can use the gamepad when I have a keyboard input. If I comment out the "inp=viz.input("blabla")
then the gamepad works. but if i leave it in, the gamepad input doesn't work...

any suggestions?
-shai




import viz
import sid

viz.go()

inp = viz.input("blabla")

def buttondown(button):
print "gamepad"

sid.callback(sid.BUTTONDOWN_EVENT,buttondown)

farshizzo
08-25-2005, 01:09 PM
Hi,

Try placing the import sid line after viz.go(). This issue will be resolved in the next release.