Home > Net >  WPF application window is not active (after loss of focus), xbox one handle key operation is invalid
WPF application window is not active (after loss of focus), xbox one handle key operation is invalid

Time:09-25

In simple terms, is to keep writing your own window procedure activated to handle operation effectively, loses focus inactive program, activation, another window handle operation is invalid, this system in win10 is like that, in the Windows 7 system or use a xboxone window activation is not activated can response joystick operation,

Handle is operating in a background Thread, the new Thread, dispatchertimer have not tried, ascend the highest priority set of what also not line, strives for the solution,

Don't know if it is set problem, didn't see about the handle win10 system went through the Settings, or to write what type of program, service program or seek guidance, xboxone with don't want to use other joystick, it happened that Microsoft to xboxone handle win10 system set a limit on the the activation operation,

CodePudding user response:

Is the link of this problem, in the early days of the win10 version of excitation can effectively activate the window, not version after the upgrade is washed-up,
https://bbs.csdn.net/topics/392460595

CodePudding user response:

The building Lord, your problem solved? I've been working on a similar joytokey program, cable handle can be normal use, but the bluetooth xbox have a problem, as long as the program lost activation will not be able to receive the message from the handle, but the cable handle don't have any problem,

CodePudding user response:

refer to the second floor YanKe response:
the building Lord, your problem solved? I've been working on a similar joytokey program, cable handle can be normal use, but the bluetooth xbox have a problem, as long as the program lost activation will not be able to receive the message from the handle, but the cable handle don't have any problem,


I only have original xbox one handle, no bluetooth,

CodePudding user response:

When I use joytokey also encountered this problem, after losing focus bluetooth handle failure, then online to find the reason, is the conflict and 360 security guards, the security guard after exit, so he would have a normal, the hope can help you
  •  Tags:  
  • C#
  • Related