Home > other >  SharpDX. DirectInput listening can't handle the keys
SharpDX. DirectInput listening can't handle the keys

Time:09-17

RT, through JoystickState currentState=this. CurjoyStick. GetCurrentState (); Listen to handle key information, in Windows xp, Windows 7, win10 10240 version ok
But after win10 upgrade 16 after XXX application loses focus entirely monitor can't handle data, as shown in figure, shade the listeners can't listen any program:


Excuse me each is what sets this? How to set up or need to system?



Supplement: suddenly found the handle controller system at Microsoft is also like this:

Block (loses focus) status, access to key information, actually I when press the button:

CodePudding user response:

Bosses, find a solution not ah, I also have this problem, I learned a few days earlier this year the c # (of course they have the basis of other programming languages) wants to write a game menu program to use for themselves and also with the SharpDX. DirectInput, also lost control of the main window focus on the problem of invalid, must want to activate the window to handle effectively, xboxone handle,

I also told you, by the way, what the handle (wireless receiver connected computer) and a cable arcade xbox360 haven't this problem, the rocker loses focus, or activate other window is also effective to program operation, but for control panel application loses focus is invalid, has been seeking the xbox one handle solution, don't know the building Lord have no answer now,
  • Related