record and replay directinput events

Posted by cloudraven on Game Development See other posts from Game Development or by cloudraven
Published on 2012-10-20T21:35:04Z Indexed on 2012/10/20 23:21 UTC
Read the original article Hit count: 224

Filed under:
|
|
|

I am trying to build a record and replay system for a couple of games. I was wondering if I can make a general replay engine using directinput rather than doing an specific implementation for each game. Recording DirectInput events doesn't seem to be that much of a problem, but I don't know if there is a way to play them back. My question is, is there a way to feed DirectInput events from a log and make DirectInput believe that they came from mouse/joystick/keyboard? I assume it is unlikely, but if there is a way I would be interested in learning about it.

© Game Development or respective owner

Related posts about directx

Related posts about input