Skip to main content
title -> question
Link
thedaian
  • 4.5k
  • 1
  • 25
  • 24

C# or C++ How do I simulate the mouse and keyboard simulatorsusing C# or C++?

Tweeted twitter.com/#!/StackGameDev/status/137263857973465088
Source Link
Dracontis
  • 229
  • 1
  • 3
  • 7

C# or C++ mouse and keyboard simulators

I want to start develop for Kinect, but hardest theme for it - how to send keyboard and mouse input to any application. In previous question I got an advice to develop my own driver for this devices, but this will take a while.

I imagine application like a gate, that can translate SendMessage's into system wide input or driver application with API to send this inputs. So I wonder, is there are drivers or simulators that can interact with C# or C++?

Small edition: SendMessage, PostMessage, keybd_event will work only on Windows application with common messages loop. So I need driver application that will work on low, kernel, level.