Thanks all for the hints/tips

I may just stick with the code I have now:

[pascal]If InputManager.JoyStick.NumOfJoySticks > 0 Then
InputManager.Enable([itJoystick,itKeyBoard,itMouse])
Else
InputManager.Enable([itKeyBoard,itMouse]); [/pascal]

cheers,
Paul