메소드 | 설명 | |
---|---|---|
Input ( ) : System | ||
Load ( ) : bool | ||
MoveMouseBy ( int deltaX, int deltaY, bool useDriver = false ) : void |
Warning: This function, if using the driver, does not function reliably and often moves the mouse in unpredictable vectors. An alternate version uses the standard Win32 API to get the current cursor's position, calculates the desired destination's offset, and uses the Win32 API to set the cursor to the new position.
|
|
MoveMouseTo ( int x, int y, bool useDriver = false ) : void |
Warning: This function, if using the driver, does not function reliably and often moves the mouse in unpredictable vectors. An alternate version uses the standard Win32 API to set the cursor's position and does not use the driver.
|
|
ScrollMouse ( ScrollDirection direction ) : void | ||
SendKey ( Keys key ) : void |
Warning: Do not use this overload of SendKey() for non-letter, non-number, or non-ENTER keys. It may require a special KeyState of not KeyState.Down or KeyState.Up, but instead KeyState.E0 and KeyState.E1.
|
|
SendKey ( Keys key, KeyState state ) : void | ||
SendKeys ( ) : void | ||
SendLeftClick ( ) : void | ||
SendMouseEvent ( MouseState state ) : void | ||
SendRightClick ( ) : void | ||
SendText ( string text ) : void |
Warning: Only use this overload for sending letters, numbers, and symbols (those to the right of the letters on a U.S. keyboard and those obtained by pressing shift-#). Do not send special keys like Tab or Control or Enter.
|
|
Unload ( ) : void |
메소드 | 설명 | |
---|---|---|
CharacterToKeysEnum ( char c ) : bool>.Tuple |
Converts a character to a Keys enum and a 'do we need to press shift'.
|
|
DriverCallback ( ) : void |
public MoveMouseBy ( int deltaX, int deltaY, bool useDriver = false ) : void | ||
deltaX | int | |
deltaY | int | |
useDriver | bool | |
리턴 | void |
public MoveMouseTo ( int x, int y, bool useDriver = false ) : void | ||
x | int | |
y | int | |
useDriver | bool | |
리턴 | void |
public ScrollMouse ( ScrollDirection direction ) : void | ||
direction | ScrollDirection | |
리턴 | void |