I have been trying to write a code in VC++ for sending keys to quake game so that I can automatically move the bot. I have tried to use sendkeys functions but it only works for notepad. I have read earlier posts on this issue but none of them seems to help. It seems I have to use directinput api for this but since I never programmed in DirectX it is unclear to me on how to do it. Also I didn't find good resources on web. Any suggestions and views on this issue are welcome !!