Example #1
0
 private static void CreateControlScheme()
 {
     keyListener.Bind(Commands.Debug, Keys.OemTilde, ActionType.Released);
     keyListener.Bind(Commands.Quit, Keys.Delete, ActionType.Released);
 }
Example #2
0
 /// <summary>
 /// Create the control scheme to listen for the debug key press specified.
 /// </summary>
 /// <param name="key"></param>
 private void BindDebugKey(Keys key)
 {
     scheme.Bind(Commands.Debug, key, ActionType.Released);
 }