Move input config (etc) to scripts handling dock/undock