2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
11 #include "input/touch/TouchTypes.h"
12 #include "windowing/WinEvents.h"
14 class CGenericTouchSwipeDetector
;
16 class CWinEventsWin32
: public IWinEvents
19 bool MessagePump() override
;
20 static LRESULT CALLBACK
WndProc(HWND hWnd
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
23 static void RegisterDeviceInterfaceToHwnd(GUID InterfaceClassGuid
, HWND hWnd
, HDEVNOTIFY
*hDeviceNotify
);
24 static void WindowFromScreenCoords(HWND hWnd
, POINT
*point
);
25 static void OnGestureNotify(HWND hWnd
, LPARAM lParam
);
26 static void OnGesture(HWND hWnd
, LPARAM lParam
);
28 static int m_originalZoomDistance
;
29 static Pointer m_touchPointer
;
30 static CGenericTouchSwipeDetector
*m_touchSwipeDetector
;