Original Post
I stumbled onto an article that talked about this, but my recent attempts to find the article produced nothing. When the app is starting up, if the window loses/gains focus at the right time, DirectInput will deadlock. The deadlock lasts until window loses/gains focus again, then the app runs normally. Sorry for the lack of details. I'm hoping somebody will link me some article describing the problem and how to fix it. If I'm talking jibberish, I'll debug and post some more details later.