how to capture the key-release event under neutrino?

<!doctype html public “-//w3c//dtd html 4.0 transitional//en”>

hi,

I am tring to program a process which can perceive all
keyboard events. In QNX, we can attach keyboard proxy
and use creceive to detect these key events.
But neutrino is different with QNX. Now i am using read()
to do this work, but read() cannot detect the key-release
events. Is there a good method that can capture all posible
key events?

Thanx.