Merge pull request #4 from salvy/master

Fixed W32 build and improve gamepad support
[~] Compile fix
[~] Check we have enough buttons