2022-04-29 04:56:51 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class RawMouse : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RawMouse();
|
2022-04-29 10:26:14 -04:00
|
|
|
private:
|
2022-04-29 13:42:47 -04:00
|
|
|
static Dvar::Var useRawInput;
|
2022-04-29 10:26:14 -04:00
|
|
|
static int mouseRawX, mouseRawY;
|
|
|
|
|
|
|
|
static void IN_ClampMouseMove();
|
|
|
|
static BOOL OnRawInput(LPARAM lParam, WPARAM);
|
|
|
|
static void IN_RawMouseMove();
|
|
|
|
static void IN_RawMouse_Init();
|
|
|
|
static void IN_Init();
|
|
|
|
static void IN_MouseMove();
|
2022-04-29 04:56:51 -04:00
|
|
|
};
|
|
|
|
}
|