public override void KeyPressed(Keyboard.Key key, Keyboard.Scancode scancode, bool isRepeat) { if (key == Keyboard.Key.F) { Window.SetFullscreen(!Window.GetFullscreen()); } }
public override void KeyReleased(Keyboard.Key key, Keyboard.Scancode scancode) { if (key == Keyboard.Key.Escape) { Event.Quit(); } }
public virtual void KeyReleased(Keyboard.Key key, Keyboard.Scancode scancode) { }
public virtual void KeyPressed(Keyboard.Key key, Keyboard.Scancode scancode, bool isRepeat) { }