Guard against OOB with joysticks with no buttons or axes. GH-92
Guard against OOB with joysticks with no buttons or axes. GH-92

You would think this is a pathological case, but I see Chrome giving me
two joysticks, including one with zero buttons, so to be safe prevent
the out-of-bounds access by conditionalizing on axes/button count.

satoshinm/NetCraft,satoshinm/NetCraft,satoshinm/NetCraft,satoshinm/NetCraft,satoshinm/NetCraft