Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
KeyState.cpp File Reference
#include "deskflow/KeyState.h"
#include "base/Log.h"
#include "deskflow/ClientApp.h"
#include "deskflow/ClientArgs.h"
#include <algorithm>
#include <cstring>
#include <iterator>
#include <list>
Include dependency graph for KeyState.cpp:

Variables

static const KeyButton kButtonMask = (KeyButton)(IKeyState::s_numButtons - 1)
static const KeyID s_decomposeTable []
static const KeyID s_numpadTable []

Variable Documentation

◆ kButtonMask

const KeyButton kButtonMask = (KeyButton)(IKeyState::s_numButtons - 1)
static

◆ s_decomposeTable

const KeyID s_decomposeTable[]
static

◆ s_numpadTable

const KeyID s_numpadTable[]
static
Initial value:
= {
kKeyKP_Add, 0x002b, kKeyKP_Separator, 0x002c, kKeyKP_Subtract, 0x002d, kKeyKP_Decimal, 0x002e,
kKeyKP_Divide, 0x002f, kKeyKP_0, 0x0030, kKeyKP_1, 0x0031, kKeyKP_2, 0x0032,
kKeyKP_3, 0x0033, kKeyKP_4, 0x0034, kKeyKP_5, 0x0035, kKeyKP_6, 0x0036,
kKeyKP_7, 0x0037, kKeyKP_8, 0x0038, kKeyKP_9, 0x0039
}
static const KeyID kKeyEnd
Definition KeyTypes.h:135
static const KeyID kKeyF1
Definition KeyTypes.h:191
static const KeyID kKeyTab
Definition KeyTypes.h:110
static const KeyID kKeyKP_6
Definition KeyTypes.h:185
static const KeyID kKeyKP_PageUp
Definition KeyTypes.h:166
static const KeyID kKeyKP_Delete
Definition KeyTypes.h:171
static const KeyID kKeyKP_Add
Definition KeyTypes.h:174
static const KeyID kKeyKP_F3
Definition KeyTypes.h:159
static const KeyID kKeyKP_F4
Definition KeyTypes.h:160
static const KeyID kKeyRight
Definition KeyTypes.h:131
static const KeyID kKeyF2
Definition KeyTypes.h:192
static const KeyID kKeyBegin
Definition KeyTypes.h:136
static const KeyID kKeyKP_Left
Definition KeyTypes.h:162
static const KeyID kKeyKP_Enter
Definition KeyTypes.h:156
static const KeyID kKeyKP_8
Definition KeyTypes.h:187
static const KeyID kKeyKP_5
Definition KeyTypes.h:184
static const KeyID kKeyKP_Down
Definition KeyTypes.h:165
static const KeyID kKeyKP_3
Definition KeyTypes.h:182
static const KeyID kKeyKP_Multiply
Definition KeyTypes.h:173
static const KeyID kKeyKP_Separator
Definition KeyTypes.h:175
static const KeyID kKeyKP_7
Definition KeyTypes.h:186
static const KeyID kKeyKP_Decimal
Definition KeyTypes.h:177
static const KeyID kKeyKP_PageDown
Definition KeyTypes.h:167
static const KeyID kKeyKP_Begin
Definition KeyTypes.h:169
static const KeyID kKeyKP_Home
Definition KeyTypes.h:161
static const KeyID kKeyDelete
Definition KeyTypes.h:125
static const KeyID kKeyKP_Right
Definition KeyTypes.h:164
static const KeyID kKeyKP_F2
Definition KeyTypes.h:158
static const KeyID kKeyUp
Definition KeyTypes.h:130
static const KeyID kKeyLeft
Definition KeyTypes.h:129
static const KeyID kKeyInsert
Definition KeyTypes.h:142
static const KeyID kKeyKP_Equal
Definition KeyTypes.h:172
static const KeyID kKeyKP_Subtract
Definition KeyTypes.h:176
static const KeyID kKeyDown
Definition KeyTypes.h:132
static const KeyID kKeyKP_Insert
Definition KeyTypes.h:170
static const KeyID kKeyKP_F1
Definition KeyTypes.h:157
static const KeyID kKeyF3
Definition KeyTypes.h:193
static const KeyID kKeyF4
Definition KeyTypes.h:194
static const KeyID kKeyKP_0
Definition KeyTypes.h:179
static const KeyID kKeyKP_Space
Definition KeyTypes.h:154
static const KeyID kKeyKP_Tab
Definition KeyTypes.h:155
static const KeyID kKeyReturn
Definition KeyTypes.h:113
static const KeyID kKeyKP_2
Definition KeyTypes.h:181
static const KeyID kKeyKP_9
Definition KeyTypes.h:188
static const KeyID kKeyKP_1
Definition KeyTypes.h:180
static const KeyID kKeyHome
Definition KeyTypes.h:128
static const KeyID kKeyKP_4
Definition KeyTypes.h:183
static const KeyID kKeyPageDown
Definition KeyTypes.h:134
static const KeyID kKeyKP_Divide
Definition KeyTypes.h:178
static const KeyID kKeyKP_End
Definition KeyTypes.h:168
static const KeyID kKeyKP_Up
Definition KeyTypes.h:163
static const KeyID kKeyPageUp
Definition KeyTypes.h:133