added keydown and keyup events.

Signed-off-by: m4strmind (Michael Harris) <m4strmind@gmail.com>