WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-25-2005, 12:58 PM
shai shai is offline
Member
 
Join Date: Oct 2004
Posts: 29
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)
Reply With Quote
  #2  
Old 08-25-2005, 01:09 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

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

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:28 AM.


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