Thread: game devices
View Single Post
  #7  
Old 04-24-2006, 10:01 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

As long as windows detects the pedals as a standard gamepad then you can use them. Here is some sample code:
Code:
import sid

#First joystick is automatically created when sid is imported
#Add second joystick
pedals = sid.add()

#Get joystick data (see command reference for sid library)
pedals.get()
Reply With Quote