added specific event interfaces for key and mouse events. fixes #208