I'm trying to write a small jinglemachine, I have a Akai MPK mini keyboard with 8 pads and I want to write some lower level C code to play wav when I press the pads. And finally a small success, with help of the ALSA C lib http://www.alsa-project.org/alsa-doc/alsa-lib/ I am able to get the events when I press the pads. I mostly do it just to learn about C coding, that is why I don't use already written code.