internal override void InternalQueue(SendInput sendInput)
        {
            INPUT input = new INPUT();

            input.type = 1;
            input.inputunion.ki.wScan   = c;
            input.inputunion.ki.dwFlags = KEYEVENTF.UNICODE;

            sendInput.InternalQueue(input);
        }
示例#2
0
        internal override void InternalQueue(SendInput sendInput)
        {
            INPUT input = new INPUT();

            input.type = 1;
            input.inputunion.ki.wVk     = (ushort)key;
            input.inputunion.ki.dwFlags = KEYEVENTF.KEYUP;

            sendInput.InternalQueue(input);
        }
        internal override void InternalQueue(SendInput sendInput)
        {
            INPUT input = new INPUT();

            input.type                  = 0;
            input.inputunion.mi.dx      = x * 65535 / MouseInput.MaxWidth;
            input.inputunion.mi.dy      = y * 65535 / MouseInput.MaxHeight;
            input.inputunion.mi.dwFlags = MOUSEEVENTF.MOVE | MOUSEEVENTF.ABSOLUTE;

            sendInput.InternalQueue(input);
        }
        internal override void InternalQueue(SendInput sendInput)
        {
            INPUT input = new INPUT();

            input.type                  = 0;
            input.inputunion.mi.dx      = x;
            input.inputunion.mi.dy      = y;
            input.inputunion.mi.dwFlags = MOUSEEVENTF.MOVE;

            sendInput.InternalQueue(input);
        }
        internal override void InternalQueue(SendInput sendInput)
        {
            INPUT input = new INPUT();

            input.type = 2;

            input.inputunion.hi.uMsg    = Message;
            input.inputunion.hi.wParamL = ParamL;
            input.inputunion.hi.wParamH = ParamH;

            sendInput.InternalQueue(input);
        }
示例#6
0
        internal override void InternalQueue(SendInput sendInput)
        {
            INPUT[] inputArray = new INPUT[s.Length];

            for (int i = 0; i < s.Length; i++)
            {
                inputArray[i].type = 1;
                inputArray[i].inputunion.ki.wScan   = s[i];
                inputArray[i].inputunion.ki.dwFlags = KEYEVENTF.UNICODE;
            }

            sendInput.InternalQueue(inputArray);
        }
示例#7
0
 internal abstract void InternalQueue(SendInput sendInput);