EventGhost (http://http://www.eventghost.org) is an open source program that lets you control your computer with an infrared remote. It already works with the IR Toy in [IRman-compatible mode (http://http://dangerousprototypes.com/docs/USB_IR_Toy:_IRman_decoder_mode)] (limited to RC5 remotes), and via the [ WinLirc plugin (http://http://dangerousprototypes.com/docs/USB_IR_Toy:_Configure_WinLIRC)] in [ IRsample mode (http://http://dangerousprototypes.com/docs/USB_IR_Toy:_Sampling_mode)].
EventGhost has a simple plugin system that's scripted in Python, it is well documented in the program help. If you develop a plugin that supports the IR Toy nativly in EventGhost, we'll send you a prototype of the new IR Toy hardware.
There are a few resources that might make this easier:
The Event Ghost USB-UIRT plugin (in EventGhostpluginsUSB-UIRT) probably handles a similar protocol
The WinLIRC IR Toy [driver source (http://http://winlirc.svn.sourceforge.net/viewvc/winlirc/trunk/DLL/IRToy/)]
The [ Python visualizer source (http://http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn/trunk/USBIRtoy/software/wxpythonApp)] in SVN already handles the USB IR Toy sample mode with Python code.
its working now! :D (I am using an Orange DVD Player Remote Control ;D)
here is the link on the SVN (still not final,still needs to be cleaned)
http://code.google.com/p/dangerous-prot ... hostPlugin (http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn/trunk/USBIRtoy/software/EventGhostPlugin)
(edit by Ian - updated SVN link)
Attached is a plugin for the USB IR Toy. We used the existing UIRT2 plugin and hacked it to work with the IR Toy.
The major difference is that the IR Toy uses 16bit data packets with 21.333us resolution. The UIRT (and most similar devices) use 8bit packets with 50us resolution.
It looks the the EventGhost IR decoder can be configured for any resolution (50.0 or 21.3, for example), but that it likes 8bit data only.
Our solution was to recalculate by multiplying by 21.333 then diving by 50 and send the lower byte. This isn't perfect but it works for now.
The IR Toy also has a transmit mode, which we'll support in a future update.
I made a wiki page with some very basic setup steps:
http://dangerousprototypes.com/docs/USB ... EventGhost (http://dangerousprototypes.com/docs/USB_IR_Toy:_IR_Toy_plugin_for_EventGhost)
The latest downloads will be on google code too.
-------------------------------------------------------------
Here's a few issues we've encountered:
The IR Toy inter-pulse measurement can be up to 1.7 seconds long. The end of data flag for the IR Toy (0xffff) comes 1.7 seconds after the last IR activity. As it is now, EventGhost doesn't try to decode the signal until the end of data flag.
RC5 toggle bits are not decoded correctly, maybe related to above issue.
I also moved the SVN to under the software folder here:
http://code.google.com/p/dangerous-prot ... hostPlugin (http://code.google.com/p/dangerous-prototypes-open-hardware/source/browse/#svn/trunk/USBIRtoy/software/EventGhostPlugin)