makelibrary/makefunctions implemented successfully; some timing issue is there, without dprintf, key presses are not detected :-)