Added char parameter for Keyboard.KeyPressed