Changed GamePad

Made some changes to GamePad. It now compiles on WIN32.