The issue is the tab key. Not sure if this happens with alt-tab combination, but it’s a problem if you press tab. Doesn’t seem to matter when you press it either.
See this thread
https://forums.flightsimulator.com/t/787-10-keybord-joystick-not-responding/317716/9?u=gordongreig