[DirectPython] Question about force feedback
Status: Inactive
Brought to you by:
hsalo
|
From: Caleb C. <Cal...@lo...> - 2008-11-18 00:17:18
|
Hello, I'm working on an application that uses a logitech force feedback
steering wheel. I'm totally new to directpython, so sorry if this is a
silly question.
I was able to get information from the wheel, but I don't see any function
calls to set Force Feedback parameters from the GameController object.
My code so far is simple enough (below). How do I set forces and springs?
Thanks so much,
-Caleb
#!/c/Python25/python25.exe
import d3d
import d3dx
from d3dc import *
class Turntable(d3dx.Frame):
def onCreate(self):
print "Creating..."
self.joystick = d3dx.GameController(1)
print self.joystick.hasForceFeedback()
return
def onUpdate(self):
pass
frame = Turntable(u"Turntable");
frame.mainloop()
|