This is not for some sort of botting program. I am not looking for any hacks that can get past the Warden on World of Warcraft or any similar games. The game I want to try this on is a single player RPG. I am not very experienced with programming in Windows and was wondering how could I get a program to play a PC game in the background, while I do other things on that same PC at the same time. The game involves the use of the mouse and the keyboard. If I'm using the computer while a program is also trying to use the mouse and keyboard, that would cause problems, I think. This is assuming, of course, that the method to send keyboard and mouse inputs to the game via a program will need to hijack the the mouse and keyboard somehow, if that is even possible.
Is it possible then, to send keyboard and mouse input to that game? The game would mostly be in the background.