Beispiel #1
0
 /// <summary>
 /// Periodically checks that no keys got stuck.
 /// </summary>
 private void KeyCheckTimer_Tick(object sender, EventArgs e)
 {
     MouseState.CheckKeys(GlobalSettings.Settings.PressHold);
     KeyboardState.CheckKeys(GlobalSettings.Settings.PressHold);
 }
Beispiel #2
0
 /// <summary>
 /// Periodically checks that no keys got stuck.
 /// </summary>
 private void KeyCheckTimer_Tick(object sender, EventArgs e)
 {
     MouseState.CheckKeys();
     KeyboardState.CheckKeys();
 }