title: How to make a c++ program physically press a key?
body: <p>Now, i've been trying to make a C++ program that physically presses the <kbd>D</kbd> or <kbd>A</kbd> key, I am still a beginner in C++ and most recent thing i've learned is while loops. Thanks for anyone that could help :)</p>
  
  <p>I want to do this because in a game I play, you go idle then you get kicked out for being idle. Thats why I'm trying to do this.</p>