Begin File: record.tgz Description: Event recorder and playback photon Keywords: photon event record playback Version: 1.0 Entered-date: Author: Ported-by: Original-site: Copying-policy: Supplemental: Looking for a simple and quick way to capture photon events and play them back? There are three programs here: precord: start it, then stop it. all photon events within a specific region will be stored to a file pdetail: print to a text console the detail on all the events that were stored in the file pplay: play back the events stored in the file Some notes: this code is completely public domain.. do with it whatever you wish. As photon may change in the future, this code may need to be modified to keep up. notes: - images drawn direct to the screen (that do not come through as photon events) will not show up. this is the same issue when you use phindows or phinx and display a direct-draw image that uses shared memory. The only current way around this is to use image calls that do not use the shared memory mechanism. End