Update (if anyone cares or is interested) :roll:
I found this at http://aspn.activestate.com/ASPN/Mai...users/1705824:
Rough code sample adapted from NCDemo, this won't work as is:
Does anyone here know python well? The file NCTextureJoy.ifr is the file that is created by Immersion Studio.
from wxPython.wx import *
from pyIFC import *
hinst = win32api.GetModuleHandle(None)
hwnd = self.GetHandle() # wxFrame window handle
self.dev = CImmDevice_CreateDevice(hinst, hwnd)
if self.dev != None:
self.tact = pyImmProject()
#This is an example of loading effects from an .ifr file
#created with IStudio, but you can create effects directly too.
if self.dev.GetDeviceType() == IMM_DEVICETYPE_DIRECTINPUT:
#play an effect from the .ifr file:
effect = ? # some effect in the .ifr file