From b1be8227d28f6f9e363375f8e41c4c1152c7079b Mon Sep 17 00:00:00 2001 From: walker0643 <> Date: Fri, 23 Feb 2018 16:24:01 -0500 Subject: [PATCH] missed a couple things: EWheelSupport and immunekeys stuff in header --- src/lib/synwinhk/synwinhk.cpp | 10 ---------- src/lib/synwinhk/synwinhk.h | 7 ++++++- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/lib/synwinhk/synwinhk.cpp b/src/lib/synwinhk/synwinhk.cpp index 559e6302..6b07cbe5 100644 --- a/src/lib/synwinhk/synwinhk.cpp +++ b/src/lib/synwinhk/synwinhk.cpp @@ -86,16 +86,6 @@ setImmuneKeys(const DWORD *list, std::size_t size) // #define NO_GRAB_KEYBOARD 0 -// -// extra mouse wheel stuff -// - -enum EWheelSupport { - kWheelNone, - kWheelWin2000, - kWheelModern -}; - // declare extended mouse hook struct. useable on win2k typedef struct tagMOUSEHOOKSTRUCTWin2000 { MOUSEHOOKSTRUCT mhs; diff --git a/src/lib/synwinhk/synwinhk.h b/src/lib/synwinhk/synwinhk.h index 4a9df5be..92bba7b4 100644 --- a/src/lib/synwinhk/synwinhk.h +++ b/src/lib/synwinhk/synwinhk.h @@ -68,7 +68,6 @@ typedef int (*UninstallScreenSaverFunc)(void); typedef void (*SetSidesFunc)(UInt32); typedef void (*SetZoneFunc)(SInt32, SInt32, SInt32, SInt32, SInt32); typedef void (*SetModeFunc)(int); -typedef void (*SetImmuneKeysFunc)(const DWORD*, std::size_t); CBARRIERHOOK_API int init(DWORD); CBARRIERHOOK_API int cleanup(void); @@ -81,7 +80,13 @@ CBARRIERHOOK_API void setZone(SInt32 x, SInt32 y, SInt32 w, SInt32 h, SInt32 jumpZoneSize); CBARRIERHOOK_API void setMode(EHookMode mode); +/* REMOVED ImmuneKeys for migration of synwinhk out of DLL + +typedef void (*SetImmuneKeysFunc)(const DWORD*, std::size_t); + // do not call setImmuneKeys() while the hooks are active! CBARRIERHOOK_API void setImmuneKeys(const DWORD *list, std::size_t size); +*/ + }