Added Keyboard and Mouse events