Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6375555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:37:49+00:00 2026-05-25T01:37:49+00:00

here is my situation: we are writing an application that must transform Microsoft Kinect

  • 0

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 mouse, everything works as we intended in ANY kind of application. The problem arises when we need to send keyboard events (like key down or key up) to applications that doesn’t handle Windows events, like games, for example.

We tried the SendKeys class of the .net framework, and it only works with Windows applications. When the application is a game like Half-Life or Doom we can’t get the same effect. So, here is my question: how can we effectively send keyboard events to these other applications?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T01:37:50+00:00Added an answer on May 25, 2026 at 1:37 am

    You need to simulate input using SendInput. SendMessage and SendKeys tend to work at the level of windows messages – but DirectX apps don’t run a traditional message loop.

    There is a page on PInvoke.NET, but I have to confess, I’ve not tried to use it.


    See also this thread on the GameDev.net site, where someone has worked with some of the “teething” issues that can be encountered specifically interacting with a DirectInput based application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the situation: I'm writing a simple AJAX application that performs CRUD functions. When
I have run into an odd situation. I'm writing a JavaScript bookmarklet that will
Here's the situation: I am trying to launch an application, but the location of
Here's the situation: I'm developing a simple application with the following structure: FormMain (startup
Here's the situation - I've got a shell that loads an external .swf. Now,
Here's the situation: we have an Oracle database we need to connect to to
So I am writing a mac application that parses SF Giants baseball statistics using
I'm writing an application in vb.net 2005. The app reads a spreadsheet into a
I'm writing a (C++) application that utilizes a single dialog box. After setting up
Here's my situation: I'm writing a chat client to connect to a chat server.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.