<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to listener</title><link>https://sourceforge.net/p/digitalemulator/wiki/listener/</link><description>Recent changes to listener</description><atom:link href="https://sourceforge.net/p/digitalemulator/wiki/listener/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 07 Jun 2012 14:00:24 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/digitalemulator/wiki/listener/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage listener modified by Majenko Technologies</title><link>https://sourceforge.net/p/digitalemulator/wiki/listener/</link><description>&lt;pre&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Thu, 07 Jun 2012 14:00:24 -0000</pubDate><guid>https://sourceforge.net0aeba29307d812a9fc809a15e9c3afd02ceaaf69</guid></item><item><title>WikiPage listener modified by Majenko Technologies</title><link>https://sourceforge.net/p/digitalemulator/wiki/listener/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -1 +1,9 @@
 **Format:** *void* * *listener(char* * *name)*
+
+The name of an input pin is passed as a string.  This should be matched up against known input pins in the device, and a pointer to a suitable function to handle input to that pin is returned.  The pointer should be cast to void *.
+
+The format of the function should be:
+
+    void inputCallback(struct device *dev, char *input, unsigned long long value)
+
+where *inputCallback* is a name chosen by you.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Thu, 07 Jun 2012 13:59:59 -0000</pubDate><guid>https://sourceforge.net3b8b3f714302020e8181348dd1992b39bfa89e58</guid></item><item><title>WikiPage listener modified by Majenko Technologies</title><link>https://sourceforge.net/p/digitalemulator/wiki/listener/</link><description>**Format:** *void* * *listener(char* * *name)*</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Majenko Technologies</dc:creator><pubDate>Thu, 07 Jun 2012 13:57:50 -0000</pubDate><guid>https://sourceforge.net524338eebc4946a04923c8a3c1422a5d2b199b2c</guid></item></channel></rss>