-
Notifications
You must be signed in to change notification settings - Fork 0
/
WindowsInput.xml
2220 lines (2197 loc) · 118 KB
/
WindowsInput.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>WindowsInput</name>
</assembly>
<members>
<member name="T:WindowsInput.IInputSimulator">
<summary>
The contract for a service that simulates Keyboard and Mouse input and Hardware Input Device state detection for the Windows Platform.
</summary>
</member>
<member name="P:WindowsInput.IInputSimulator.Keyboard">
<summary>
Gets the <see cref="T:WindowsInput.IKeyboardSimulator"/> instance for simulating Keyboard input.
</summary>
<value>The <see cref="T:WindowsInput.IKeyboardSimulator"/> instance.</value>
</member>
<member name="P:WindowsInput.IInputSimulator.Mouse">
<summary>
Gets the <see cref="T:WindowsInput.IMouseSimulator"/> instance for simulating Mouse input.
</summary>
<value>The <see cref="T:WindowsInput.IMouseSimulator"/> instance.</value>
</member>
<member name="P:WindowsInput.IInputSimulator.InputDeviceState">
<summary>
Gets the <see cref="T:WindowsInput.IInputDeviceStateAdaptor"/> instance for determining the state of the various input devices.
</summary>
<value>The <see cref="T:WindowsInput.IInputDeviceStateAdaptor"/> instance.</value>
</member>
<member name="T:WindowsInput.IMouseSimulator">
<summary>
The service contract for a mouse simulator for the Windows platform.
</summary>
</member>
<member name="M:WindowsInput.IMouseSimulator.MoveMouseBy(System.Int32,System.Int32)">
<summary>
Simulates mouse movement by the specified distance measured as a delta from the current mouse location in pixels.
</summary>
<param name="pixelDeltaX">The distance in pixels to move the mouse horizontally.</param>
<param name="pixelDeltaY">The distance in pixels to move the mouse vertically.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.MoveMouseTo(System.Double,System.Double)">
<summary>
Simulates mouse movement to the specified location on the primary display device.
</summary>
<param name="absoluteX">The destination's absolute X-coordinate on the primary display device where 0 is the extreme left hand side of the display device and 65535 is the extreme right hand side of the display device.</param>
<param name="absoluteY">The destination's absolute Y-coordinate on the primary display device where 0 is the top of the display device and 65535 is the bottom of the display device.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.MoveMouseToPositionOnVirtualDesktop(System.Double,System.Double)">
<summary>
Simulates mouse movement to the specified location on the Virtual Desktop which includes all active displays.
</summary>
<param name="absoluteX">The destination's absolute X-coordinate on the virtual desktop where 0 is the left hand side of the virtual desktop and 65535 is the extreme right hand side of the virtual desktop.</param>
<param name="absoluteY">The destination's absolute Y-coordinate on the virtual desktop where 0 is the top of the virtual desktop and 65535 is the bottom of the virtual desktop.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.LeftButtonDown">
<summary>
Simulates a mouse left button down gesture.
</summary>
</member>
<member name="M:WindowsInput.IMouseSimulator.LeftButtonUp">
<summary>
Simulates a mouse left button up gesture.
</summary>
</member>
<member name="M:WindowsInput.IMouseSimulator.LeftButtonClick">
<summary>
Simulates a mouse left button click gesture.
</summary>
</member>
<member name="M:WindowsInput.IMouseSimulator.LeftButtonDoubleClick">
<summary>
Simulates a mouse left button double-click gesture.
</summary>
</member>
<member name="M:WindowsInput.IMouseSimulator.RightButtonDown">
<summary>
Simulates a mouse right button down gesture.
</summary>
</member>
<member name="M:WindowsInput.IMouseSimulator.RightButtonUp">
<summary>
Simulates a mouse right button up gesture.
</summary>
</member>
<member name="M:WindowsInput.IMouseSimulator.RightButtonClick">
<summary>
Simulates a mouse right button click gesture.
</summary>
</member>
<member name="M:WindowsInput.IMouseSimulator.RightButtonDoubleClick">
<summary>
Simulates a mouse right button double-click gesture.
</summary>
</member>
<member name="M:WindowsInput.IMouseSimulator.XButtonDown(System.Int32)">
<summary>
Simulates a mouse X button down gesture.
</summary>
<param name="buttonId">The button id.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.XButtonUp(System.Int32)">
<summary>
Simulates a mouse X button up gesture.
</summary>
<param name="buttonId">The button id.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.XButtonClick(System.Int32)">
<summary>
Simulates a mouse X button click gesture.
</summary>
<param name="buttonId">The button id.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.XButtonDoubleClick(System.Int32)">
<summary>
Simulates a mouse X button double-click gesture.
</summary>
<param name="buttonId">The button id.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.VerticalScroll(System.Int32)">
<summary>
Simulates mouse vertical wheel scroll gesture.
</summary>
<param name="scrollAmountInClicks">The amount to scroll in clicks. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.HorizontalScroll(System.Int32)">
<summary>
Simulates a mouse horizontal wheel scroll gesture. Supported by Windows Vista and later.
</summary>
<param name="scrollAmountInClicks">The amount to scroll in clicks. A positive value indicates that the wheel was rotated to the right; a negative value indicates that the wheel was rotated to the left.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.Sleep(System.Int32)">
<summary>
Sleeps the executing thread to create a pause between simulated inputs.
</summary>
<param name="millsecondsTimeout">The number of milliseconds to wait.</param>
</member>
<member name="M:WindowsInput.IMouseSimulator.Sleep(System.TimeSpan)">
<summary>
Sleeps the executing thread to create a pause between simulated inputs.
</summary>
<param name="timeout">The time to wait.</param>
</member>
<member name="P:WindowsInput.IMouseSimulator.Keyboard">
<summary>
Gets the <see cref="T:WindowsInput.IKeyboardSimulator"/> instance for simulating Keyboard input.
</summary>
<value>The <see cref="T:WindowsInput.IKeyboardSimulator"/> instance.</value>
</member>
<member name="T:WindowsInput.InputSimulator">
<summary>
Implements the <see cref="T:WindowsInput.IInputSimulator"/> interface to simulate Keyboard and Mouse input and provide the state of those input devices.
</summary>
</member>
<member name="F:WindowsInput.InputSimulator._keyboardSimulator">
<summary>
The <see cref="T:WindowsInput.IKeyboardSimulator"/> instance to use for simulating keyboard input.
</summary>
</member>
<member name="F:WindowsInput.InputSimulator._mouseSimulator">
<summary>
The <see cref="T:WindowsInput.IMouseSimulator"/> instance to use for simulating mouse input.
</summary>
</member>
<member name="F:WindowsInput.InputSimulator._inputDeviceState">
<summary>
The <see cref="T:WindowsInput.IInputDeviceStateAdaptor"/> instance to use for interpreting the state of the input devices.
</summary>
</member>
<member name="M:WindowsInput.InputSimulator.#ctor(WindowsInput.IKeyboardSimulator,WindowsInput.IMouseSimulator,WindowsInput.IInputDeviceStateAdaptor)">
<summary>
Initializes a new instance of the <see cref="T:WindowsInput.InputSimulator"/> class using the specified <see cref="T:WindowsInput.IKeyboardSimulator"/>, <see cref="T:WindowsInput.IMouseSimulator"/> and <see cref="T:WindowsInput.IInputDeviceStateAdaptor"/> instances.
</summary>
<param name="keyboardSimulator">The <see cref="T:WindowsInput.IKeyboardSimulator"/> instance to use for simulating keyboard input.</param>
<param name="mouseSimulator">The <see cref="T:WindowsInput.IMouseSimulator"/> instance to use for simulating mouse input.</param>
<param name="inputDeviceStateAdaptor">The <see cref="T:WindowsInput.IInputDeviceStateAdaptor"/> instance to use for interpreting the state of input devices.</param>
</member>
<member name="M:WindowsInput.InputSimulator.#ctor">
<summary>
Initializes a new instance of the <see cref="T:WindowsInput.InputSimulator"/> class using the default <see cref="T:WindowsInput.KeyboardSimulator"/>, <see cref="T:WindowsInput.MouseSimulator"/> and <see cref="T:WindowsInput.WindowsInputDeviceStateAdaptor"/> instances.
</summary>
</member>
<member name="P:WindowsInput.InputSimulator.Keyboard">
<summary>
Gets the <see cref="T:WindowsInput.IKeyboardSimulator"/> instance for simulating Keyboard input.
</summary>
<value>The <see cref="T:WindowsInput.IKeyboardSimulator"/> instance.</value>
</member>
<member name="P:WindowsInput.InputSimulator.Mouse">
<summary>
Gets the <see cref="T:WindowsInput.IMouseSimulator"/> instance for simulating Mouse input.
</summary>
<value>The <see cref="T:WindowsInput.IMouseSimulator"/> instance.</value>
</member>
<member name="P:WindowsInput.InputSimulator.InputDeviceState">
<summary>
Gets the <see cref="T:WindowsInput.IInputDeviceStateAdaptor"/> instance for determining the state of the various input devices.
</summary>
<value>The <see cref="T:WindowsInput.IInputDeviceStateAdaptor"/> instance.</value>
</member>
<member name="T:WindowsInput.MouseButton">
<summary>
The mouse button
</summary>
</member>
<member name="F:WindowsInput.MouseButton.LeftButton">
<summary>
Left mouse button
</summary>
</member>
<member name="F:WindowsInput.MouseButton.MiddleButton">
<summary>
Middle mouse button
</summary>
</member>
<member name="F:WindowsInput.MouseButton.RightButton">
<summary>
Right moust button
</summary>
</member>
<member name="T:WindowsInput.MouseSimulator">
<summary>
Implements the <see cref="T:WindowsInput.IMouseSimulator"/> interface by calling the an <see cref="T:WindowsInput.IInputMessageDispatcher"/> to simulate Mouse gestures.
</summary>
</member>
<member name="F:WindowsInput.MouseSimulator._messageDispatcher">
<summary>
The instance of the <see cref="T:WindowsInput.IInputMessageDispatcher"/> to use for dispatching <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
</member>
<member name="M:WindowsInput.MouseSimulator.#ctor(WindowsInput.IInputSimulator)">
<summary>
Initializes a new instance of the <see cref="T:WindowsInput.MouseSimulator"/> class using an instance of a <see cref="T:WindowsInput.WindowsInputMessageDispatcher"/> for dispatching <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<param name="inputSimulator">The <see cref="T:WindowsInput.IInputSimulator"/> that owns this instance.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.#ctor(WindowsInput.IInputSimulator,WindowsInput.IInputMessageDispatcher)">
<summary>
Initializes a new instance of the <see cref="T:WindowsInput.MouseSimulator"/> class using the specified <see cref="T:WindowsInput.IInputMessageDispatcher"/> for dispatching <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<param name="inputSimulator">The <see cref="T:WindowsInput.IInputSimulator"/> that owns this instance.</param>
<param name="messageDispatcher">The <see cref="T:WindowsInput.IInputMessageDispatcher"/> to use for dispatching <see cref="T:WindowsInput.Native.INPUT"/> messages.</param>
<exception cref="T:System.InvalidOperationException">If null is passed as the <paramref name="messageDispatcher"/>.</exception>
</member>
<member name="M:WindowsInput.MouseSimulator.SendSimulatedInput(WindowsInput.Native.INPUT[])">
<summary>
Sends the list of <see cref="T:WindowsInput.Native.INPUT"/> messages using the <see cref="T:WindowsInput.IInputMessageDispatcher"/> instance.
</summary>
<param name="inputList">The <see cref="T:System.Array"/> of <see cref="T:WindowsInput.Native.INPUT"/> messages to send.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.MoveMouseBy(System.Int32,System.Int32)">
<summary>
Simulates mouse movement by the specified distance measured as a delta from the current mouse location in pixels.
</summary>
<param name="pixelDeltaX">The distance in pixels to move the mouse horizontally.</param>
<param name="pixelDeltaY">The distance in pixels to move the mouse vertically.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.MoveMouseTo(System.Double,System.Double)">
<summary>
Simulates mouse movement to the specified location on the primary display device.
</summary>
<param name="absoluteX">The destination's absolute X-coordinate on the primary display device where 0 is the extreme left hand side of the display device and 65535 is the extreme right hand side of the display device.</param>
<param name="absoluteY">The destination's absolute Y-coordinate on the primary display device where 0 is the top of the display device and 65535 is the bottom of the display device.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.MoveMouseToPositionOnVirtualDesktop(System.Double,System.Double)">
<summary>
Simulates mouse movement to the specified location on the Virtual Desktop which includes all active displays.
</summary>
<param name="absoluteX">The destination's absolute X-coordinate on the virtual desktop where 0 is the left hand side of the virtual desktop and 65535 is the extreme right hand side of the virtual desktop.</param>
<param name="absoluteY">The destination's absolute Y-coordinate on the virtual desktop where 0 is the top of the virtual desktop and 65535 is the bottom of the virtual desktop.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.LeftButtonDown">
<summary>
Simulates a mouse left button down gesture.
</summary>
</member>
<member name="M:WindowsInput.MouseSimulator.LeftButtonUp">
<summary>
Simulates a mouse left button up gesture.
</summary>
</member>
<member name="M:WindowsInput.MouseSimulator.LeftButtonClick">
<summary>
Simulates a mouse left-click gesture.
</summary>
</member>
<member name="M:WindowsInput.MouseSimulator.LeftButtonDoubleClick">
<summary>
Simulates a mouse left button double-click gesture.
</summary>
</member>
<member name="M:WindowsInput.MouseSimulator.RightButtonDown">
<summary>
Simulates a mouse right button down gesture.
</summary>
</member>
<member name="M:WindowsInput.MouseSimulator.RightButtonUp">
<summary>
Simulates a mouse right button up gesture.
</summary>
</member>
<member name="M:WindowsInput.MouseSimulator.RightButtonClick">
<summary>
Simulates a mouse right button click gesture.
</summary>
</member>
<member name="M:WindowsInput.MouseSimulator.RightButtonDoubleClick">
<summary>
Simulates a mouse right button double-click gesture.
</summary>
</member>
<member name="M:WindowsInput.MouseSimulator.XButtonDown(System.Int32)">
<summary>
Simulates a mouse X button down gesture.
</summary>
<param name="buttonId">The button id.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.XButtonUp(System.Int32)">
<summary>
Simulates a mouse X button up gesture.
</summary>
<param name="buttonId">The button id.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.XButtonClick(System.Int32)">
<summary>
Simulates a mouse X button click gesture.
</summary>
<param name="buttonId">The button id.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.XButtonDoubleClick(System.Int32)">
<summary>
Simulates a mouse X button double-click gesture.
</summary>
<param name="buttonId">The button id.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.VerticalScroll(System.Int32)">
<summary>
Simulates mouse vertical wheel scroll gesture.
</summary>
<param name="scrollAmountInClicks">The amount to scroll in clicks. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.HorizontalScroll(System.Int32)">
<summary>
Simulates a mouse horizontal wheel scroll gesture. Supported by Windows Vista and later.
</summary>
<param name="scrollAmountInClicks">The amount to scroll in clicks. A positive value indicates that the wheel was rotated to the right; a negative value indicates that the wheel was rotated to the left.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.Sleep(System.Int32)">
<summary>
Sleeps the executing thread to create a pause between simulated inputs.
</summary>
<param name="millsecondsTimeout">The number of milliseconds to wait.</param>
</member>
<member name="M:WindowsInput.MouseSimulator.Sleep(System.TimeSpan)">
<summary>
Sleeps the executing thread to create a pause between simulated inputs.
</summary>
<param name="timeout">The time to wait.</param>
</member>
<member name="P:WindowsInput.MouseSimulator.Keyboard">
<summary>
Gets the <see cref="T:WindowsInput.IKeyboardSimulator"/> instance for simulating Keyboard input.
</summary>
<value>The <see cref="T:WindowsInput.IKeyboardSimulator"/> instance.</value>
</member>
<member name="T:WindowsInput.Native.NativeMethods">
<summary>
References all of the Native Windows API methods for the WindowsInput functionality.
</summary>
</member>
<member name="M:WindowsInput.Native.NativeMethods.GetAsyncKeyState(System.UInt16)">
<summary>
The GetAsyncKeyState function determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState. (See: http://msdn.microsoft.com/en-us/library/ms646293(VS.85).aspx)
</summary>
<param name="virtualKeyCode">Specifies one of 256 possible virtual-key codes. For more information, see Virtual Key Codes. Windows NT/2000/XP: You can use left- and right-distinguishing constants to specify certain keys. See the Remarks section for further information.</param>
<returns>
If the function succeeds, the return value specifies whether the key was pressed since the last call to GetAsyncKeyState, and whether the key is currently up or down. If the most significant bit is set, the key is down, and if the least significant bit is set, the key was pressed after the previous call to GetAsyncKeyState. However, you should not rely on this last behavior; for more information, see the Remarks.
Windows NT/2000/XP: The return value is zero for the following cases:
- The current desktop is not the active desktop
- The foreground thread belongs to another process and the desktop does not allow the hook or the journal record.
Windows 95/98/Me: The return value is the global asynchronous key state for each virtual key. The system does not check which thread has the keyboard focus.
Windows 95/98/Me: Windows 95 does not support the left- and right-distinguishing constants. If you call GetAsyncKeyState with these constants, the return value is zero.
</returns>
<remarks>
The GetAsyncKeyState function works with mouse buttons. However, it checks on the state of the physical mouse buttons, not on the logical mouse buttons that the physical buttons are mapped to. For example, the call GetAsyncKeyState(VK_LBUTTON) always returns the state of the left physical mouse button, regardless of whether it is mapped to the left or right logical mouse button. You can determine the system's current mapping of physical mouse buttons to logical mouse buttons by calling
Copy CodeGetSystemMetrics(SM_SWAPBUTTON) which returns TRUE if the mouse buttons have been swapped.
Although the least significant bit of the return value indicates whether the key has been pressed since the last query, due to the pre-emptive multitasking nature of Windows, another application can call GetAsyncKeyState and receive the "recently pressed" bit instead of your application. The behavior of the least significant bit of the return value is retained strictly for compatibility with 16-bit Windows applications (which are non-preemptive) and should not be relied upon.
You can use the virtual-key code constants VK_SHIFT, VK_CONTROL, and VK_MENU as values for the vKey parameter. This gives the state of the SHIFT, CTRL, or ALT keys without distinguishing between left and right.
Windows NT/2000/XP: You can use the following virtual-key code constants as values for vKey to distinguish between the left and right instances of those keys.
Code Meaning
VK_LSHIFT Left-shift key.
VK_RSHIFT Right-shift key.
VK_LCONTROL Left-control key.
VK_RCONTROL Right-control key.
VK_LMENU Left-menu key.
VK_RMENU Right-menu key.
These left- and right-distinguishing constants are only available when you call the GetKeyboardState, SetKeyboardState, GetAsyncKeyState, GetKeyState, and MapVirtualKey functions.
</remarks>
</member>
<member name="M:WindowsInput.Native.NativeMethods.GetKeyState(System.UInt16)">
<summary>
The GetKeyState function retrieves the status of the specified virtual key. The status specifies whether the key is up, down, or toggled (on, off alternating each time the key is pressed). (See: http://msdn.microsoft.com/en-us/library/ms646301(VS.85).aspx)
</summary>
<param name="virtualKeyCode">
Specifies a virtual key. If the desired virtual key is a letter or digit (A through Z, a through z, or 0 through 9), nVirtKey must be set to the ASCII value of that character. For other keys, it must be a virtual-key code.
If a non-English keyboard layout is used, virtual keys with values in the range ASCII A through Z and 0 through 9 are used to specify most of the character keys. For example, for the German keyboard layout, the virtual key of value ASCII O (0x4F) refers to the "o" key, whereas VK_OEM_1 refers to the "o with umlaut" key.
</param>
<returns>
The return value specifies the status of the specified virtual key, as follows:
If the high-order bit is 1, the key is down; otherwise, it is up.
If the low-order bit is 1, the key is toggled. A key, such as the CAPS LOCK key, is toggled if it is turned on. The key is off and untoggled if the low-order bit is 0. A toggle key's indicator light (if any) on the keyboard will be on when the key is toggled, and off when the key is untoggled.
</returns>
<remarks>
The key status returned from this function changes as a thread reads key messages from its message queue. The status does not reflect the interrupt-level state associated with the hardware. Use the GetAsyncKeyState function to retrieve that information.
An application calls GetKeyState in response to a keyboard-input message. This function retrieves the state of the key when the input message was generated.
To retrieve state information for all the virtual keys, use the GetKeyboardState function.
An application can use the virtual-key code constants VK_SHIFT, VK_CONTROL, and VK_MENU as values for the nVirtKey parameter. This gives the status of the SHIFT, CTRL, or ALT keys without distinguishing between left and right. An application can also use the following virtual-key code constants as values for nVirtKey to distinguish between the left and right instances of those keys.
VK_LSHIFT
VK_RSHIFT
VK_LCONTROL
VK_RCONTROL
VK_LMENU
VK_RMENU
These left- and right-distinguishing constants are available to an application only through the GetKeyboardState, SetKeyboardState, GetAsyncKeyState, GetKeyState, and MapVirtualKey functions.
</remarks>
</member>
<member name="M:WindowsInput.Native.NativeMethods.SendInput(System.UInt32,WindowsInput.Native.INPUT[],System.Int32)">
<summary>
The SendInput function synthesizes keystrokes, mouse motions, and button clicks.
</summary>
<param name="numberOfInputs">Number of structures in the Inputs array.</param>
<param name="inputs">Pointer to an array of INPUT structures. Each structure represents an event to be inserted into the keyboard or mouse input stream.</param>
<param name="sizeOfInputStructure">Specifies the size, in bytes, of an INPUT structure. If cbSize is not the size of an INPUT structure, the function fails.</param>
<returns>The function returns the number of events that it successfully inserted into the keyboard or mouse input stream. If the function returns zero, the input was already blocked by another thread. To get extended error information, call GetLastError.Microsoft Windows Vista. This function fails when it is blocked by User Interface Privilege Isolation (UIPI). Note that neither GetLastError nor the return value will indicate the failure was caused by UIPI blocking.</returns>
<remarks>
Microsoft Windows Vista. This function is subject to UIPI. Applications are permitted to inject input only into applications that are at an equal or lesser integrity level.
The SendInput function inserts the events in the INPUT structures serially into the keyboard or mouse input stream. These events are not interspersed with other keyboard or mouse input events inserted either by the user (with the keyboard or mouse) or by calls to keybd_event, mouse_event, or other calls to SendInput.
This function does not reset the keyboard's current state. Any keys that are already pressed when the function is called might interfere with the events that this function generates. To avoid this problem, check the keyboard's state with the GetAsyncKeyState function and correct as necessary.
</remarks>
</member>
<member name="M:WindowsInput.Native.NativeMethods.GetMessageExtraInfo">
<summary>
The GetMessageExtraInfo function retrieves the extra message information for the current thread. Extra message information is an application- or driver-defined value associated with the current thread's message queue.
</summary>
<returns></returns>
<remarks>To set a thread's extra message information, use the SetMessageExtraInfo function. </remarks>
</member>
<member name="T:WindowsInput.Native.HARDWAREINPUT">
<summary>
The HARDWAREINPUT structure contains information about a simulated message generated by an input device other than a keyboard or mouse. (see: http://msdn.microsoft.com/en-us/library/ms646269(VS.85).aspx)
Declared in Winuser.h, include Windows.h
</summary>
</member>
<member name="F:WindowsInput.Native.HARDWAREINPUT.Msg">
<summary>
Value specifying the message generated by the input hardware.
</summary>
</member>
<member name="F:WindowsInput.Native.HARDWAREINPUT.ParamL">
<summary>
Specifies the low-order word of the lParam parameter for uMsg.
</summary>
</member>
<member name="F:WindowsInput.Native.HARDWAREINPUT.ParamH">
<summary>
Specifies the high-order word of the lParam parameter for uMsg.
</summary>
</member>
<member name="T:WindowsInput.IInputDeviceStateAdaptor">
<summary>
The contract for a service that interprets the state of input devices.
</summary>
</member>
<member name="M:WindowsInput.IInputDeviceStateAdaptor.IsKeyDown(WindowsInput.Native.VirtualKeyCode)">
<summary>
Determines whether the specified key is up or down.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
<returns>
<c>true</c> if the key is down; otherwise, <c>false</c>.
</returns>
</member>
<member name="M:WindowsInput.IInputDeviceStateAdaptor.IsKeyUp(WindowsInput.Native.VirtualKeyCode)">
<summary>
Determines whether the specified key is up or down.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
<returns>
<c>true</c> if the key is up; otherwise, <c>false</c>.
</returns>
</member>
<member name="M:WindowsInput.IInputDeviceStateAdaptor.IsHardwareKeyDown(WindowsInput.Native.VirtualKeyCode)">
<summary>
Determines whether the physical key is up or down at the time the function is called regardless of whether the application thread has read the keyboard event from the message pump.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
<returns>
<c>true</c> if the key is down; otherwise, <c>false</c>.
</returns>
</member>
<member name="M:WindowsInput.IInputDeviceStateAdaptor.IsHardwareKeyUp(WindowsInput.Native.VirtualKeyCode)">
<summary>
Determines whether the physical key is up or down at the time the function is called regardless of whether the application thread has read the keyboard event from the message pump.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
<returns>
<c>true</c> if the key is up; otherwise, <c>false</c>.
</returns>
</member>
<member name="M:WindowsInput.IInputDeviceStateAdaptor.IsTogglingKeyInEffect(WindowsInput.Native.VirtualKeyCode)">
<summary>
Determines whether the toggling key is toggled on (in-effect) or not.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
<returns>
<c>true</c> if the toggling key is toggled on (in-effect); otherwise, <c>false</c>.
</returns>
</member>
<member name="T:WindowsInput.IInputMessageDispatcher">
<summary>
The contract for a service that dispatches <see cref="T:WindowsInput.Native.INPUT"/> messages to the appropriate destination.
</summary>
</member>
<member name="M:WindowsInput.IInputMessageDispatcher.DispatchInput(WindowsInput.Native.INPUT[])">
<summary>
Dispatches the specified list of <see cref="T:WindowsInput.Native.INPUT"/> messages in their specified order.
</summary>
<param name="inputs">The list of <see cref="T:WindowsInput.Native.INPUT"/> messages to be dispatched.</param>
<exception cref="T:System.ArgumentException">If the <paramref name="inputs"/> array is empty.</exception>
<exception cref="T:System.ArgumentNullException">If the <paramref name="inputs"/> array is null.</exception>
<exception cref="T:System.Exception">If the any of the commands in the <paramref name="inputs"/> array could not be sent successfully.</exception>
</member>
<member name="T:WindowsInput.IKeyboardSimulator">
<summary>
The service contract for a keyboard simulator for the Windows platform.
</summary>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.KeyDown(WindowsInput.Native.VirtualKeyCode)">
<summary>
Simulates the key down gesture for the specified key.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.KeyPress(WindowsInput.Native.VirtualKeyCode)">
<summary>
Simulates the key press gesture for the specified key.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.KeyPress(WindowsInput.Native.VirtualKeyCode[])">
<summary>
Simulates a key press for each of the specified key codes in the order they are specified.
</summary>
<param name="keyCodes"></param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.KeyUp(WindowsInput.Native.VirtualKeyCode)">
<summary>
Simulates the key up gesture for the specified key.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.ModifiedKeyStroke(System.Collections.Generic.IEnumerable{WindowsInput.Native.VirtualKeyCode},System.Collections.Generic.IEnumerable{WindowsInput.Native.VirtualKeyCode})">
<summary>
Simulates a modified keystroke where there are multiple modifiers and multiple keys like CTRL-ALT-K-C where CTRL and ALT are the modifierKeys and K and C are the keys.
The flow is Modifiers KeyDown in order, Keys Press in order, Modifiers KeyUp in reverse order.
</summary>
<param name="modifierKeyCodes">The list of <see cref="T:WindowsInput.Native.VirtualKeyCode"/>s for the modifier keys.</param>
<param name="keyCodes">The list of <see cref="T:WindowsInput.Native.VirtualKeyCode"/>s for the keys to simulate.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.ModifiedKeyStroke(System.Collections.Generic.IEnumerable{WindowsInput.Native.VirtualKeyCode},WindowsInput.Native.VirtualKeyCode)">
<summary>
Simulates a modified keystroke where there are multiple modifiers and one key like CTRL-ALT-C where CTRL and ALT are the modifierKeys and C is the key.
The flow is Modifiers KeyDown in order, Key Press, Modifiers KeyUp in reverse order.
</summary>
<param name="modifierKeyCodes">The list of <see cref="T:WindowsInput.Native.VirtualKeyCode"/>s for the modifier keys.</param>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.ModifiedKeyStroke(WindowsInput.Native.VirtualKeyCode,System.Collections.Generic.IEnumerable{WindowsInput.Native.VirtualKeyCode})">
<summary>
Simulates a modified keystroke where there is one modifier and multiple keys like CTRL-K-C where CTRL is the modifierKey and K and C are the keys.
The flow is Modifier KeyDown, Keys Press in order, Modifier KeyUp.
</summary>
<param name="modifierKey">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the modifier key.</param>
<param name="keyCodes">The list of <see cref="T:WindowsInput.Native.VirtualKeyCode"/>s for the keys to simulate.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.ModifiedKeyStroke(WindowsInput.Native.VirtualKeyCode,WindowsInput.Native.VirtualKeyCode)">
<summary>
Simulates a simple modified keystroke like CTRL-C where CTRL is the modifierKey and C is the key.
The flow is Modifier KeyDown, Key Press, Modifier KeyUp.
</summary>
<param name="modifierKeyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the modifier key.</param>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> for the key.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.TextEntry(System.String)">
<summary>
Simulates uninterrupted text entry via the keyboard.
</summary>
<param name="text">The text to be simulated.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.TextEntry(System.Char)">
<summary>
Simulates a single character text entry via the keyboard.
</summary>
<param name="character">The unicode character to be simulated.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.Sleep(System.Int32)">
<summary>
Sleeps the executing thread to create a pause between simulated inputs.
</summary>
<param name="millsecondsTimeout">The number of milliseconds to wait.</param>
</member>
<member name="M:WindowsInput.IKeyboardSimulator.Sleep(System.TimeSpan)">
<summary>
Sleeps the executing thread to create a pause between simulated inputs.
</summary>
<param name="timeout">The time to wait.</param>
</member>
<member name="P:WindowsInput.IKeyboardSimulator.Mouse">
<summary>
Gets the <see cref="T:WindowsInput.IMouseSimulator"/> instance for simulating Mouse input.
</summary>
<value>The <see cref="T:WindowsInput.IMouseSimulator"/> instance.</value>
</member>
<member name="T:WindowsInput.Native.INPUT">
<summary>
The INPUT structure is used by SendInput to store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks. (see: http://msdn.microsoft.com/en-us/library/ms646270(VS.85).aspx)
Declared in Winuser.h, include Windows.h
</summary>
<remarks>
This structure contains information identical to that used in the parameter list of the keybd_event or mouse_event function.
Windows 2000/XP: INPUT_KEYBOARD supports nonkeyboard input methods, such as handwriting recognition or voice recognition, as if it were text input by using the KEYEVENTF_UNICODE flag. For more information, see the remarks section of KEYBDINPUT.
</remarks>
</member>
<member name="F:WindowsInput.Native.INPUT.Type">
<summary>
Specifies the type of the input event. This member can be one of the following values.
<see cref="F:WindowsInput.Native.InputType.Mouse"/> - The event is a mouse event. Use the mi structure of the union.
<see cref="F:WindowsInput.Native.InputType.Keyboard"/> - The event is a keyboard event. Use the ki structure of the union.
<see cref="F:WindowsInput.Native.InputType.Hardware"/> - Windows 95/98/Me: The event is from input hardware other than a keyboard or mouse. Use the hi structure of the union.
</summary>
</member>
<member name="F:WindowsInput.Native.INPUT.Data">
<summary>
The data structure that contains information about the simulated Mouse, Keyboard or Hardware event.
</summary>
</member>
<member name="T:WindowsInput.InputBuilder">
<summary>
A helper class for building a list of <see cref="T:WindowsInput.Native.INPUT"/> messages ready to be sent to the native Windows API.
</summary>
</member>
<member name="F:WindowsInput.InputBuilder._inputList">
<summary>
The public list of <see cref="T:WindowsInput.Native.INPUT"/> messages being built by this instance.
</summary>
</member>
<member name="M:WindowsInput.InputBuilder.#ctor">
<summary>
Initializes a new instance of the <see cref="T:WindowsInput.InputBuilder"/> class.
</summary>
</member>
<member name="M:WindowsInput.InputBuilder.ToArray">
<summary>
Returns the list of <see cref="T:WindowsInput.Native.INPUT"/> messages as a <see cref="T:System.Array"/> of <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<returns>The <see cref="T:System.Array"/> of <see cref="T:WindowsInput.Native.INPUT"/> messages.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.GetEnumerator">
<summary>
Returns an enumerator that iterates through the list of <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<returns>
A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the list of <see cref="T:WindowsInput.Native.INPUT"/> messages.
</returns>
<filterpriority>1</filterpriority>
</member>
<member name="M:WindowsInput.InputBuilder.System#Collections#IEnumerable#GetEnumerator">
<summary>
Returns an enumerator that iterates through the list of <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<returns>
An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the list of <see cref="T:WindowsInput.Native.INPUT"/> messages.
</returns>
<filterpriority>2</filterpriority>
</member>
<member name="M:WindowsInput.InputBuilder.IsExtendedKey(WindowsInput.Native.VirtualKeyCode)">
<summary>
Determines if the <see cref="T:WindowsInput.Native.VirtualKeyCode"/> is an ExtendedKey
</summary>
<param name="keyCode">The key code.</param>
<returns>true if the key code is an extended key; otherwise, false.</returns>
<remarks>
The extended keys consist of the ALT and CTRL keys on the right-hand side of the keyboard; the INS, DEL, HOME, END, PAGE UP, PAGE DOWN, and arrow keys in the clusters to the left of the numeric keypad; the NUM LOCK key; the BREAK (CTRL+PAUSE) key; the PRINT SCRN key; and the divide (/) and ENTER keys in the numeric keypad.
See http://msdn.microsoft.com/en-us/library/ms646267(v=vs.85).aspx Section "Extended-Key Flag"
</remarks>
</member>
<member name="M:WindowsInput.InputBuilder.AddKeyDown(WindowsInput.Native.VirtualKeyCode)">
<summary>
Adds a key down to the list of <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/>.</param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddKeyUp(WindowsInput.Native.VirtualKeyCode)">
<summary>
Adds a key up to the list of <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/>.</param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddKeyPress(WindowsInput.Native.VirtualKeyCode)">
<summary>
Adds a key press to the list of <see cref="T:WindowsInput.Native.INPUT"/> messages which is equivalent to a key down followed by a key up.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/>.</param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddCharacter(System.Char)">
<summary>
Adds the character to the list of <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<param name="character">The <see cref="T:System.Char"/> to be added to the list of <see cref="T:WindowsInput.Native.INPUT"/> messages.</param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddCharacters(System.Collections.Generic.IEnumerable{System.Char})">
<summary>
Adds all of the characters in the specified <see cref="T:System.Collections.Generic.IEnumerable`1"/> of <see cref="T:System.Char"/>.
</summary>
<param name="characters">The characters to add.</param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddCharacters(System.String)">
<summary>
Adds the characters in the specified <see cref="T:System.String"/>.
</summary>
<param name="characters">The string of <see cref="T:System.Char"/> to add.</param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddRelativeMouseMovement(System.Int32,System.Int32)">
<summary>
Moves the mouse relative to its current position.
</summary>
<param name="x"></param>
<param name="y"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddAbsoluteMouseMovement(System.Int32,System.Int32)">
<summary>
Move the mouse to an absolute position.
</summary>
<param name="absoluteX"></param>
<param name="absoluteY"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddAbsoluteMouseMovementOnVirtualDesktop(System.Int32,System.Int32)">
<summary>
Move the mouse to the absolute position on the virtual desktop.
</summary>
<param name="absoluteX"></param>
<param name="absoluteY"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseButtonDown(WindowsInput.MouseButton)">
<summary>
Adds a mouse button down for the specified button.
</summary>
<param name="button"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseXButtonDown(System.Int32)">
<summary>
Adds a mouse button down for the specified button.
</summary>
<param name="xButtonId"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseButtonUp(WindowsInput.MouseButton)">
<summary>
Adds a mouse button up for the specified button.
</summary>
<param name="button"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseXButtonUp(System.Int32)">
<summary>
Adds a mouse button up for the specified button.
</summary>
<param name="xButtonId"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseButtonClick(WindowsInput.MouseButton)">
<summary>
Adds a single click of the specified button.
</summary>
<param name="button"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseXButtonClick(System.Int32)">
<summary>
Adds a single click of the specified button.
</summary>
<param name="xButtonId"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseButtonDoubleClick(WindowsInput.MouseButton)">
<summary>
Adds a double click of the specified button.
</summary>
<param name="button"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseXButtonDoubleClick(System.Int32)">
<summary>
Adds a double click of the specified button.
</summary>
<param name="xButtonId"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseVerticalWheelScroll(System.Int32)">
<summary>
Scroll the vertical mouse wheel by the specified amount.
</summary>
<param name="scrollAmount"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="M:WindowsInput.InputBuilder.AddMouseHorizontalWheelScroll(System.Int32)">
<summary>
Scroll the horizontal mouse wheel by the specified amount.
</summary>
<param name="scrollAmount"></param>
<returns>This <see cref="T:WindowsInput.InputBuilder"/> instance.</returns>
</member>
<member name="P:WindowsInput.InputBuilder.Item(System.Int32)">
<summary>
Gets the <see cref="T:WindowsInput.Native.INPUT"/> at the specified position.
</summary>
<value>The <see cref="T:WindowsInput.Native.INPUT"/> message at the specified position.</value>
</member>
<member name="T:WindowsInput.KeyboardSimulator">
<summary>
Implements the <see cref="T:WindowsInput.IKeyboardSimulator"/> interface by calling the an <see cref="T:WindowsInput.IInputMessageDispatcher"/> to simulate Keyboard gestures.
</summary>
</member>
<member name="F:WindowsInput.KeyboardSimulator._messageDispatcher">
<summary>
The instance of the <see cref="T:WindowsInput.IInputMessageDispatcher"/> to use for dispatching <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
</member>
<member name="M:WindowsInput.KeyboardSimulator.#ctor(WindowsInput.IInputSimulator)">
<summary>
Initializes a new instance of the <see cref="T:WindowsInput.KeyboardSimulator"/> class using an instance of a <see cref="T:WindowsInput.WindowsInputMessageDispatcher"/> for dispatching <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<param name="inputSimulator">The <see cref="T:WindowsInput.IInputSimulator"/> that owns this instance.</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.#ctor(WindowsInput.IInputSimulator,WindowsInput.IInputMessageDispatcher)">
<summary>
Initializes a new instance of the <see cref="T:WindowsInput.KeyboardSimulator"/> class using the specified <see cref="T:WindowsInput.IInputMessageDispatcher"/> for dispatching <see cref="T:WindowsInput.Native.INPUT"/> messages.
</summary>
<param name="inputSimulator">The <see cref="T:WindowsInput.IInputSimulator"/> that owns this instance.</param>
<param name="messageDispatcher">The <see cref="T:WindowsInput.IInputMessageDispatcher"/> to use for dispatching <see cref="T:WindowsInput.Native.INPUT"/> messages.</param>
<exception cref="T:System.InvalidOperationException">If null is passed as the <paramref name="messageDispatcher"/>.</exception>
</member>
<member name="M:WindowsInput.KeyboardSimulator.SendSimulatedInput(WindowsInput.Native.INPUT[])">
<summary>
Sends the list of <see cref="T:WindowsInput.Native.INPUT"/> messages using the <see cref="T:WindowsInput.IInputMessageDispatcher"/> instance.
</summary>
<param name="inputList">The <see cref="T:System.Array"/> of <see cref="T:WindowsInput.Native.INPUT"/> messages to send.</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.KeyDown(WindowsInput.Native.VirtualKeyCode)">
<summary>
Calls the Win32 SendInput method to simulate a KeyDown.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> to press</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.KeyUp(WindowsInput.Native.VirtualKeyCode)">
<summary>
Calls the Win32 SendInput method to simulate a KeyUp.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> to lift up</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.KeyPress(WindowsInput.Native.VirtualKeyCode)">
<summary>
Calls the Win32 SendInput method with a KeyDown and KeyUp message in the same input sequence in order to simulate a Key PRESS.
</summary>
<param name="keyCode">The <see cref="T:WindowsInput.Native.VirtualKeyCode"/> to press</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.KeyPress(WindowsInput.Native.VirtualKeyCode[])">
<summary>
Simulates a key press for each of the specified key codes in the order they are specified.
</summary>
<param name="keyCodes"></param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.ModifiedKeyStroke(WindowsInput.Native.VirtualKeyCode,WindowsInput.Native.VirtualKeyCode)">
<summary>
Simulates a simple modified keystroke like CTRL-C where CTRL is the modifierKey and C is the key.
The flow is Modifier KeyDown, Key Press, Modifier KeyUp.
</summary>
<param name="modifierKeyCode">The modifier key</param>
<param name="keyCode">The key to simulate</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.ModifiedKeyStroke(System.Collections.Generic.IEnumerable{WindowsInput.Native.VirtualKeyCode},WindowsInput.Native.VirtualKeyCode)">
<summary>
Simulates a modified keystroke where there are multiple modifiers and one key like CTRL-ALT-C where CTRL and ALT are the modifierKeys and C is the key.
The flow is Modifiers KeyDown in order, Key Press, Modifiers KeyUp in reverse order.
</summary>
<param name="modifierKeyCodes">The list of modifier keys</param>
<param name="keyCode">The key to simulate</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.ModifiedKeyStroke(WindowsInput.Native.VirtualKeyCode,System.Collections.Generic.IEnumerable{WindowsInput.Native.VirtualKeyCode})">
<summary>
Simulates a modified keystroke where there is one modifier and multiple keys like CTRL-K-C where CTRL is the modifierKey and K and C are the keys.
The flow is Modifier KeyDown, Keys Press in order, Modifier KeyUp.
</summary>
<param name="modifierKey">The modifier key</param>
<param name="keyCodes">The list of keys to simulate</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.ModifiedKeyStroke(System.Collections.Generic.IEnumerable{WindowsInput.Native.VirtualKeyCode},System.Collections.Generic.IEnumerable{WindowsInput.Native.VirtualKeyCode})">
<summary>
Simulates a modified keystroke where there are multiple modifiers and multiple keys like CTRL-ALT-K-C where CTRL and ALT are the modifierKeys and K and C are the keys.
The flow is Modifiers KeyDown in order, Keys Press in order, Modifiers KeyUp in reverse order.
</summary>
<param name="modifierKeyCodes">The list of modifier keys</param>
<param name="keyCodes">The list of keys to simulate</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.TextEntry(System.String)">
<summary>
Calls the Win32 SendInput method with a stream of KeyDown and KeyUp messages in order to simulate uninterrupted text entry via the keyboard.
</summary>
<param name="text">The text to be simulated.</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.TextEntry(System.Char)">
<summary>
Simulates a single character text entry via the keyboard.
</summary>
<param name="character">The unicode character to be simulated.</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.Sleep(System.Int32)">
<summary>
Sleeps the executing thread to create a pause between simulated inputs.
</summary>
<param name="millsecondsTimeout">The number of milliseconds to wait.</param>
</member>
<member name="M:WindowsInput.KeyboardSimulator.Sleep(System.TimeSpan)">
<summary>
Sleeps the executing thread to create a pause between simulated inputs.
</summary>
<param name="timeout">The time to wait.</param>
</member>
<member name="P:WindowsInput.KeyboardSimulator.Mouse">
<summary>
Gets the <see cref="T:WindowsInput.IMouseSimulator"/> instance for simulating Mouse input.
</summary>
<value>The <see cref="T:WindowsInput.IMouseSimulator"/> instance.</value>
</member>
<member name="T:WindowsInput.Native.InputType">
<summary>
Specifies the type of the input event. This member can be one of the following values.
</summary>
</member>
<member name="F:WindowsInput.Native.InputType.Mouse">
<summary>
INPUT_MOUSE = 0x00 (The event is a mouse event. Use the mi structure of the union.)
</summary>
</member>
<member name="F:WindowsInput.Native.InputType.Keyboard">
<summary>
INPUT_KEYBOARD = 0x01 (The event is a keyboard event. Use the ki structure of the union.)
</summary>
</member>
<member name="F:WindowsInput.Native.InputType.Hardware">
<summary>
INPUT_HARDWARE = 0x02 (Windows 95/98/Me: The event is from input hardware other than a keyboard or mouse. Use the hi structure of the union.)
</summary>
</member>
<member name="T:WindowsInput.Native.KEYBDINPUT">
<summary>
The KEYBDINPUT structure contains information about a simulated keyboard event. (see: http://msdn.microsoft.com/en-us/library/ms646271(VS.85).aspx)
Declared in Winuser.h, include Windows.h
</summary>
<remarks>
Windows 2000/XP: INPUT_KEYBOARD supports nonkeyboard-input methodssuch as handwriting recognition or voice recognitionas if it were text input by using the KEYEVENTF_UNICODE flag. If KEYEVENTF_UNICODE is specified, SendInput sends a WM_KEYDOWN or WM_KEYUP message to the foreground thread's message queue with wParam equal to VK_PACKET. Once GetMessage or PeekMessage obtains this message, passing the message to TranslateMessage posts a WM_CHAR message with the Unicode character originally specified by wScan. This Unicode character will automatically be converted to the appropriate ANSI value if it is posted to an ANSI window.
Windows 2000/XP: Set the KEYEVENTF_SCANCODE flag to define keyboard input in terms of the scan code. This is useful to simulate a physical keystroke regardless of which keyboard is currently being used. The virtual key value of a key may alter depending on the current keyboard layout or what other keys were pressed, but the scan code will always be the same.
</remarks>
</member>
<member name="F:WindowsInput.Native.KEYBDINPUT.KeyCode">
<summary>
Specifies a virtual-key code. The code must be a value in the range 1 to 254. The Winuser.h header file provides macro definitions (VK_*) for each value. If the dwFlags member specifies KEYEVENTF_UNICODE, wVk must be 0.
</summary>
</member>
<member name="F:WindowsInput.Native.KEYBDINPUT.Scan">