示例#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);
 }
示例#2
0
 /// <summary>
 /// Periodically checks that no keys got stuck.
 /// </summary>
 private void KeyCheckTimer_Tick(object sender, EventArgs e)
 {
     MouseState.CheckKeys();
     KeyboardState.CheckKeys();
 }