For those looking for a more hardware way, I just published two source codes for reading push / release of a key of the keyboard without using the system functions :
http://www.stashofcode.fr/routines-p...ker-sur-amiga/
First source code is for reading by polling, second source code is for reading by being interrupted. The key that is read is the ESC key.
(For those who downloaded the sources: I just cleaned the code, removing anything that was not useful)