#pragma once #include #include namespace Overlay { class Control; class Window; } namespace Input { struct HotKey; bool operator<(const HotKey& lhs, const HotKey& rhs); Overlay::Control* getCapture(); Overlay::Window* getCaptureWindow(); POINT getCursorPos(); HWND getCursorWindow(); POINT getRelativeCursorPos(); void installHooks(); void registerHotKey(const HotKey& hotKey, std::function action, void* context, bool onKeydown = true); void setCapture(Overlay::Control* control); void updateCursor(); }