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)
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)