Add a type check to the gamepad module
Add a type check to the gamepad module

Make sure that all the arguments passed are indeed DigitalInOut.
This avoids crashes when the users pass something else.

adafruit/circuitpython,adafruit/circuitpython,adafruit/circuitpython,adafruit/micropython,adafruit/circuitpython,adafruit/micropython,adafruit/micropython,adafruit/micropython,adafruit/circuitpython,adafruit/circuitpython,adafruit/micropython