C# Класс Eryan.Input.KeyBoard

Keyboard input device
Наследование: Eryan.Input.InputDevice
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
keytranslator VKeysScan>.Dictionary

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
VkKeyScan ( char ch ) : IntPtr
populateTranslator ( ) : void

Описание методов

KeyBoard() публичный Метод

public KeyBoard ( ) : System
Результат System

keyDown() публичный Метод

public keyDown ( char key ) : void
key char
Результат void

keyUp() публичный Метод

public keyUp ( char key ) : void
key char
Результат void

pressEnter() публичный Метод

Sends an Enter key to EVE
public pressEnter ( ) : void
Результат void

sendAltCharacter() публичный Метод

Sends the given character with the alt key pressed
public sendAltCharacter ( char c ) : void
c char The character to send
Результат void

sendChar() публичный Метод

Sends the given keypress to the EVE client
public sendChar ( char c ) : void
c char
Результат void

sendCtrlCharacter() публичный Метод

Sends the given character with the control key pressed
public sendCtrlCharacter ( char c ) : void
c char Character to send with control
Результат void

sendFKey() публичный Метод

public sendFKey ( int key ) : void
key int
Результат void

sendKeyPresses() публичный Метод

Sends keypresses to the EVE client with a static wait between keypresses
public sendKeyPresses ( String text ) : void
text String The text to send
Результат void

sendKeyPresses() публичный Метод

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
Результат void

Описание свойств

keytranslator публичное свойство

public Dictionary keytranslator
Результат VKeysScan>.Dictionary