WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   gamepad problem (https://forum.worldviz.com/showthread.php?t=397)

shai 08-25-2005 12:58 PM

gamepad problem
 
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.


All times are GMT -7. The time now is 09:17 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC