added event structure for keyboard