Thanks Eros, will check that tonight when I'm back from work.
thanks a lot for this nice addition.
I will document them all for next release.
I made some test with a bad gamepad. All seems working fine but I cannot test effects. I will have a new joystick for the weekend.
I also executed the script without any pad and it make a GPF in TBDI module when it encounter the first TBDI_JoyLoadEffect function at line:
[code=thinbasic]myEffect = TBDI_JoyLoadEffect(App_sourcepath+"effects\dirt3.ffe")[/code]
With a pad inserted no GPF.