C# Class Eryan.Input.KeyBoard

Keyboard input device
Inheritance: Eryan.Input.InputDevice
Afficher le fichier Open project: emist/Eryan Class Usage Examples

Méthodes publiques

Свойство Type Description
keytranslator VKeysScan>.Dictionary

Méthodes publiques

Méthode Description
KeyBoard ( ) : System
keyDown ( char key ) : void
keyUp ( char key ) : void
pressEnter ( ) : void

Sends an Enter key to EVE

sendAltCharacter ( char c ) : void

Sends the given character with the alt key pressed

sendChar ( char c ) : void

Sends the given keypress to the EVE client

sendCtrlCharacter ( char c ) : void

Sends the given character with the control key pressed

sendFKey ( int key ) : void
sendKeyPresses ( String text ) : void

Sends keypresses to the EVE client with a static wait between keypresses

sendKeyPresses ( String text, int minWait, int maxWait ) : void

Sends a string of keys to the Eve Client with a random wait

Private Methods

Méthode Description
VkKeyScan ( char ch ) : IntPtr
populateTranslator ( ) : void

Method Details

KeyBoard() public méthode

public KeyBoard ( ) : System
Résultat System

keyDown() public méthode

public keyDown ( char key ) : void
key char
Résultat void

keyUp() public méthode

public keyUp ( char key ) : void
key char
Résultat void

pressEnter() public méthode

Sends an Enter key to EVE
public pressEnter ( ) : void
Résultat void

sendAltCharacter() public méthode

Sends the given character with the alt key pressed
public sendAltCharacter ( char c ) : void
c char The character to send
Résultat void

sendChar() public méthode

Sends the given keypress to the EVE client
public sendChar ( char c ) : void
c char
Résultat void

sendCtrlCharacter() public méthode

Sends the given character with the control key pressed
public sendCtrlCharacter ( char c ) : void
c char Character to send with control
Résultat void

sendFKey() public méthode

public sendFKey ( int key ) : void
key int
Résultat void

sendKeyPresses() public méthode

Sends keypresses to the EVE client with a static wait between keypresses
public sendKeyPresses ( String text ) : void
text String The text to send
Résultat void

sendKeyPresses() public méthode

Sends a string of keys to the Eve Client with a random wait
public sendKeyPresses ( String text, int minWait, int maxWait ) : void
text String The string to enter
minWait int The minimum time to wait between keypresses in miliseconds
maxWait int The maximum time to wait between keypresses in miliseconds
Résultat void

Property Details

keytranslator public_oe property

public Dictionary keytranslator
Résultat VKeysScan>.Dictionary