I wouldn't rely on port numbers being assigned to a specific controller. A guy called Pepsi wrote a small userlib a couple of years ago to get a string name for each controller, so you might use that. I don't know if he (or his DLL) are still around.
I don't know why you'd get different results on different PCs regarding d-pad and buttons. The only time I've known this happen is with controllers with throttle/yaw/pov controls etc.
I don't know why you'd get different results on different PCs regarding d-pad and buttons. The only time I've known this happen is with controllers with throttle/yaw/pov controls etc.