Sending keyboard events to another application in C# that does not handle Windows events

前端 未结 5 1444
深忆病人
深忆病人 2021-02-07 21:10

here is my situation: we are writing an application that must transform Microsoft Kinect coordinates into keyboard and mouse events.

When we need to take control of the

5条回答
  •  隐瞒了意图╮
    2021-02-07 22:00

    Unfortunately DirectX has no built-in hooking functionality; however there are some (this one is a .Net wrapper over another one) libraries out there that can do it. You will also need to look into XInput, which deprecates DirectInput.

提交回复
热议问题