<p>Hmm, so you're saying that the device sends keyboard events.  How did you find out which kind of data it sends out?  <br>
Sending out midi note events is easy with RTMidi, check out the section on midi out section.  It contains a section on MIDI note output.  </p>
<p>I don't have much experience on grabbing keyboard type events using a daemon.  I would recommend finding a cross platform solution.  If not try finding out how to read keyboard events while being a daemon.  Like a keylogger I guess.  </p>

<p>C++ isn't much of a jump from C so it should be easy to pick up and go.</p>
<p><blockquote>On Jul 5, 2009 3:53 AM, "Renato Budinich" <<a href="mailto:rennabh@gmail.com">rennabh@gmail.com</a>> wrote:<br><br><br>
Thank you very much, this is interesting, I'll have a look into RtMidi<br>
and your program. Being that the little I know is C, is it much more<br>
difficult outputting notes using the alsa api?<br>
<p><font color="#500050">


> Since there is a driver for it, you should be able to use it as an
> alsa midi device.  
</font></p>uhm, i'm not sure... the driver (snd_usb_caiaq) actually takes care of<br>
the soundcard built in the pedal, and on the way also makes the buttons<br>
create keyboard events, and the pedal EV_ABS<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></p>