/// <summary> /// // Get if key is toggled or untgled (useful to detect if capslock or nunlock is on) /// </summary> /// <param name="key">The keyboard key to evaluate</param> /// <returns>If the key is toggled or untoggled</returns> public KeyValue GetKeyValue(Keys key) { return(KeyStateCheck.GetToggled(key)); }
/// <summary> /// Get if Key is Up or Down /// </summary> /// <param name="key">The keyboard key to evaluate</param> /// <returns>If the key is Up or Down</returns> public KeyState GetKeyState(Keys key) { return(KeyStateCheck.GetKeyState(key)); }