Hi HeadKaze, if you are still keeping an eye on this thread...
I am trying to do exactly what you are mentioning without any success. I compiled mame 0.142 with the FORCE_DIRECTINPUT 1 option. I have a hook that will identify any pressed keys. When I press the key 6 I want the soft to send '5'. The key is sent to any apps but Mame !!!
I have tried to use : keybd_event and SendInput
Can you share a code example with us... Or do you have any tips to make it run ?
I am able to make my 'multicoin' using autohotkey (which does not need to have a kind of keylogger runing around) but as a tutorial purpose I would like to be able to code it with regular C/C++, but without any success yet.
Thanks
Edited by Dr_Lagaffe (09/06/11 11:33 AM)
|