Implementing joystick ids in DirectInput