Ejemplo n.º 1
0
 /// <summary>
 /// The event fired the moment a key is pressed.
 /// </summary>
 /// <param name="api">The Client API.</param>
 /// <param name="args">The keyboard state when the key was pressed.</param>
 public virtual void OnKeyPress(ICoreClientAPI api, KeyEvent args)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Fires when the keys are released.
 /// </summary>
 /// <param name="args">the key or keys that were released.</param>
 public virtual void OnKeyUp(KeyEvent args)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// The event fired when a key is held down.
 /// </summary>
 /// <param name="api">The client API</param>
 /// <param name="args">The key event arguments.</param>
 public virtual void OnKeyDown(ICoreClientAPI api, KeyEvent args)
 {
 }