Fixed the non-responsive d-pad on the GC Adapter.
Fixed -Wmissing-declarations and -Wshadow warning (thanks rohit-n).
Merge pull request #1691 from skidau/GC-Adapter-dpad-fix

Fixed the non-responsive d-pad on the GC Adapter