VGamepad PC
The PC app for the virtual game controller.
Loading...
Searching...
No Matches
keyboardSim.cpp File Reference
#include "../keyboardSim.hpp"
#include <QKeySequence>
#include <unordered_set>
Include dependency graph for keyboardSim.cpp:

Variables

static const std::unordered_set< WORD > extendedKeys

Variable Documentation

◆ extendedKeys

const std::unordered_set<WORD> extendedKeys
static
Initial value:
= {
VK_RMENU, VK_RCONTROL, VK_INSERT, VK_DELETE, VK_HOME, VK_END, VK_PRIOR, VK_NEXT,
VK_RIGHT, VK_UP, VK_LEFT, VK_DOWN, VK_NUMLOCK, VK_CANCEL, VK_SNAPSHOT, VK_DIVIDE}

Extended key lookup table. Reference: https://learn.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input#extended-key-flag