uLib  User mode C/C++ extended API library for Win32 programmers.
InputEmu.h File Reference
#include <uLib/Common.h>

Go to the source code of this file.

Macros

#define MAKE_HOTKEY(key, flags)   (WORD)(((flags) << 8) | key)
 

Enumerations

enum  MOUSEKEY { LBUTTON = _BV(0), MBUTTON = _BV(1), RBUTTON = _BV(2) }
 

Functions

void MakeKeyInput (INPUT *Inp, WORD vKey, DWORD Flags)
 
UINT SendKeyInput (WORD vKey, DWORD Flags=0)
 
bool SendKeyPress (WORD vKey)
 
bool SendHotKey (WORD Hotkey)
 
void MakeMouseInput (INPUT *Inp, LONG dx, LONG dy, LONG data, DWORD Flags)
 
UINT SendMouseInput (LONG dx, LONG dy, LONG data, DWORD Flags)
 
bool SendMouseClick (MOUSEKEY Key)