Simulates keyboard input in Windows.
More...
#include <windows.h>
#include <string>
#include <vector>
Simulates keyboard input in Windows.
- Note
- Do not include this file directly. Use simulate.hpp instead.
◆ WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN |
◆ keyComboDown()
void keyComboDown |
( |
std::vector< WORD > | keys | ) |
|
◆ keyComboUp()
void keyComboUp |
( |
std::vector< WORD > | keys | ) |
|
◆ keyDown()
◆ keyUp()
◆ pressKey()
void pressKey |
( |
WORD | key | ) |
|
◆ pressKeyCombo()
void pressKeyCombo |
( |
std::vector< WORD > | keys | ) |
|
◆ typeUnicodeString()
void typeUnicodeString |
( |
std::wstring | str | ) |
|
◆ PRESS_INTERVAL
The time in milliseconds to wait between pressing and releasing a key.