Merge pull request #15 from notaz/master

various fixes and marmalade audio
eliminate input code duplication in marmalade
add key input for more modules