FFXIVLIB  0.4.1
FFXIVLIB is a library designed to help creating 3rd party tools for FFXIV
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ffxivlib.SendKeyInput Class Reference

Public Types

enum  VKKeys {
  LBUTTON = 0x01, RBUTTON = 0x02, CANCEL = 0x03, MBUTTON = 0x04,
  XBUTTON1 = 0x05, XBUTTON2 = 0x06, BACK = 0x08, TAB = 0x09,
  CLEAR = 0x0C, RETURN = 0x0D, SHIFT = 0x10, CONTROL = 0x11,
  MENU = 0x12, PAUSE = 0x13, CAPITAL = 0x14, KANA = 0x15,
  HANGUL = 0x15, JUNJA = 0x17, FINAL = 0x18, HANJA = 0x19,
  KANJI = 0x19, ESCAPE = 0x1B, CONVERT = 0x1C, NONCONVERT = 0x1D,
  ACCEPT = 0x1E, MODECHANGE = 0x1F, SPACE = 0x20, PRIOR = 0x21,
  NEXT = 0x22, END = 0x23, HOME = 0x24, LEFT = 0x25,
  UP = 0x26, RIGHT = 0x27, DOWN = 0x28, SELECT = 0x29,
  PRINT = 0x2A, EXECUTE = 0x2B, SNAPSHOT = 0x2C, INSERT = 0x2D,
  DELETE = 0x2E, HELP = 0x2F, KEY_0 = 0x30, KEY_1 = 0x31,
  KEY_2 = 0x32, KEY_3 = 0x33, KEY_4 = 0x34, KEY_5 = 0x35,
  KEY_6 = 0x36, KEY_7 = 0x37, KEY_8 = 0x38, KEY_9 = 0x39,
  KEY_A = 0x41, KEY_B = 0x42, KEY_C = 0x43, KEY_D = 0x44,
  KEY_E = 0x45, KEY_F = 0x46, KEY_G = 0x47, KEY_H = 0x48,
  KEY_I = 0x49, KEY_J = 0x4A, KEY_K = 0x4B, KEY_L = 0x4C,
  KEY_M = 0x4D, KEY_N = 0x4E, KEY_O = 0x4F, KEY_P = 0x50,
  KEY_Q = 0x51, KEY_R = 0x52, KEY_S = 0x53, KEY_T = 0x54,
  KEY_U = 0x55, KEY_V = 0x56, KEY_W = 0x57, KEY_X = 0x58,
  KEY_Y = 0x59, KEY_Z = 0x5A, SLEEP = 0x5F, NUMPAD0 = 0x60,
  NUMPAD1 = 0x61, NUMPAD2 = 0x62, NUMPAD3 = 0x63, NUMPAD4 = 0x64,
  NUMPAD5 = 0x65, NUMPAD6 = 0x66, NUMPAD7 = 0x67, NUMPAD8 = 0x68,
  NUMPAD9 = 0x69, MULTIPLY = 0x6A, ADD = 0x6B, SEPARATOR = 0x6C,
  SUBTRACT = 0x6D, DECIMAL = 0x6E, DIVIDE = 0x6F, F1 = 0x70,
  F2 = 0x71, F3 = 0x72, F4 = 0x73, F5 = 0x74,
  F6 = 0x75, F7 = 0x76, F8 = 0x77, F9 = 0x78,
  F10 = 0x79, F11 = 0x7A, F12 = 0x7B, F13 = 0x7C,
  F14 = 0x7D, F15 = 0x7E, F16 = 0x7F, F17 = 0x80,
  F18 = 0x81, F19 = 0x82, F20 = 0x83, F21 = 0x84,
  F22 = 0x85, F23 = 0x86, F24 = 0x87, NUMLOCK = 0x90,
  SCROLL = 0x91, LSHIFT = 0xA0, RSHIFT = 0xA1, LCONTROL = 0xA2,
  RCONTROL = 0xA3, LMENU = 0xA4, RMENU = 0xA5
}
 

Public Member Functions

void ConvertTextToInput (IEnumerable< char > cString, int delay=300)
 Send text string to game window More...
 
void SendReturnKey (int delay=100)
 Send Enter keypress More...
 
void SendKeyPress (VKKeys key, bool keyup=true, int delay=100)
 Send a Virtual Key to FFXIV More...
 
void SetFocus ()
 
void PostMessagePTR (uint msg, IntPtr wParam, IntPtr lParam)
 

Static Public Member Functions

static SendKeyInput SetInstance (IntPtr ffxivWindow)
 
static SendKeyInput GetInstance ()
 

Public Attributes

const uint MAPVK_VK_TO_VSC = 0x00
 
const uint MAPVK_VSC_TO_VK = 0x01
 
const uint MAPVK_VK_TO_CHAR = 0x02
 
const uint MAPVK_VSC_TO_VK_EX = 0x03
 
const uint MAPVK_VK_TO_VSC_EX = 0x04
 

Member Function Documentation

void ffxivlib.SendKeyInput.ConvertTextToInput ( IEnumerable< char >  cString,
int  delay = 300 
)

Send text string to game window

Parameters
cString
delay
void ffxivlib.SendKeyInput.SendKeyPress ( VKKeys  key,
bool  keyup = true,
int  delay = 100 
)

Send a Virtual Key to FFXIV

Parameters
keyVirtual Key to press
keyupShould we keypress up (default: true)
delayDelay between keydown and keyup (default: 100ms)
void ffxivlib.SendKeyInput.SendReturnKey ( int  delay = 100)

Send Enter keypress


The documentation for this class was generated from the following file: