Example #1
0
        public static bool SendKeyPressModifiers(VirtualKeyCode keyCode, params VirtualKeyCode[] modifiers)
        {
            InputManager inputManager = new InputManager();

            inputManager.AddKeyPressModifiers(keyCode, modifiers);
            return(inputManager.SendInputs());
        }
Example #2
0
 public static bool SendKeyPressModifiers(VirtualKeyCode keyCode, params VirtualKeyCode[] modifiers)
 {
     InputManager inputManager = new InputManager();
     inputManager.AddKeyPressModifiers(keyCode, modifiers);
     return inputManager.SendInputs();
 }