Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
#include "platform/MSWindowsHook.h"
#include "base/Log.h"
#include "deskflow/ProtocolTypes.h"
#include "deskflow/XScreen.h"
Functions | |
static void | keyboardGetState (BYTE keys[256], DWORD vkCode, bool kf_up) |
static WPARAM | makeKeyMsg (UINT virtKey, WCHAR wc, bool noAltGr) |
static void | setDeadKey (WCHAR wc[], int size, UINT flags) |
static bool | keyboardHookHandler (WPARAM wParam, LPARAM lParam) |
static LRESULT CALLBACK | keyboardLLHook (int code, WPARAM wParam, LPARAM lParam) |
static bool | mouseHookHandler (WPARAM wParam, int32_t x, int32_t y, int32_t data) |
static LRESULT CALLBACK | mouseLLHook (int code, WPARAM wParam, LPARAM lParam) |
static LRESULT CALLBACK | getMessageHook (int code, WPARAM wParam, LPARAM lParam) |
Variables | |
static const char * | g_name = "dfwhook" |
static DWORD | g_processID = 0 |
static DWORD | g_threadID = 0 |
static HHOOK | g_getMessage = nullptr |
static HHOOK | g_keyboardLL = nullptr |
static HHOOK | g_mouseLL = nullptr |
static bool | g_screenSaver = false |
static EHookMode | g_mode = kHOOK_DISABLE |
static uint32_t | g_zoneSides = 0 |
static int32_t | g_zoneSize = 0 |
static int32_t | g_xScreen = 0 |
static int32_t | g_yScreen = 0 |
static int32_t | g_wScreen = 0 |
static int32_t | g_hScreen = 0 |
static WPARAM | g_deadVirtKey = 0 |
static WPARAM | g_deadRelease = 0 |
static LPARAM | g_deadLParam = 0 |
static BYTE | g_deadKeyState [256] = {0} |
static BYTE | g_keyState [256] = {0} |
static DWORD | g_hookThread = 0 |
static bool | g_fakeServerInput = false |
static BOOL | g_isPrimary = TRUE |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |