Rewrote DirectInput peripheral core so it works again. Added support for XInput if supported controllers are detected. Detection code is still a bit buggy.

git-svn-id: svn+ssh://svn.code.sf.net/p/yabause/code/trunk@3174 d7be59e3-070e-4b9a-85a1-4646befae34d