http://www.perlmonks.org?node_id=140136


in reply to How can I get raw keydown and keyup events from a keyboard device?

Tk does this. You can independantly catch the key up and key down events.