void target_KeyDown(object sender, KeyEventArgs e) { LastKeyboardState.Leave(e.Key); CurrentKeyboardState.Press(e.Key); }