The parallel port uses the interface lpt-switch.
thanks
Game Technologies: DirectX 101
jpimentel,
There is a complete sample in the SDK. The most recent version for this can be found here. If you download the SDK for Feb2007 there is also a solution in the (SDK root)\Samples\C++\DirectInput\Joystick directory. Thanks.
Cale
This would really be up to the DirectInput driver. The driver needs to make the device appear to DirectInput.
If this is an exisiting device then contact the manufacturer if its something you have built yourself then start here http://msdn2.microsoft.com/en-us/library/ms789837.aspx