Possibly a hotkey driver or something similar to enable your keyboard functionality using whatever keys you use to switch from internal to external to both?
Check with your laptop manufacturer's website and see if they have such a driver, sometimes they are listed among their "utilities".