private void KeyboardNotification(object sender, KeyboardNotificationEventArgs e) { // Turn on the buttons PlayerClicked = true; LastPlayerClicked = kb.LookupIntKey(e.Key); }
private void Kb_KeyboardNotification(object sender, KeyboardNotificationEventArgs e) { this.LastPressed = e.Key.ToString(); }