Exemplar currently supports input using OpenSoundControl messages over serial ports. Message specification:
OSC over UDP input is possible as of Exemplar 0.4.1. Select it in the Preferences and restart Eclipse. Message format is identical to OSC over serial, but no start byte, size, or checksum bytes are transmitted.
Exemplar can serve as a TCP socket server to deliver Events to Adobe Flash.
See the Protocols page for details on the message format.
Exemplar can also output its events as OSC messages over UDP. This feature is included in the public distribution as of Exemplar 0.4.1.
We have written a separate server program that takes OSC messages produced by Exemplar and turns them into key presses and mouse movements via the Java Robot API.
TODO: make this code available for download.