Added keypress and num pad events