gamepads.shinc code cleanup, fixes