OK, I posted this as a reply to the recent question regarding unbuffered keyboard input, but I think it warrants its own question. I have an interest in getting waaaaay-raw keyboard input: keydown and keyup events. The jist is, I'd like to make a PC keyboard play as a MIDI instrument by binding keypresses and releases to midi events using the MIDI::Music module. I'm dreading doing something rash like resorting to Win32 API calls, is there some way I can get keydown and keyup messages in Perl on Linux? Is it in Term::Readkey and I'm just missing it in the docs? 'cause Term::Readkey's raw mode still looks like its interpreting it as a terminal ASCII stream and not the raw keyboard events that I really want to get at.