2022-04-29 04:56:51 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class RawMouse : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RawMouse();
|
2022-05-03 11:50:27 -04:00
|
|
|
|
|
|
|
static void IN_MouseMove();
|
|
|
|
|
2022-04-29 10:26:14 -04:00
|
|
|
private:
|
2022-04-29 14:02:27 -04:00
|
|
|
static Dvar::Var M_RawInput;
|
|
|
|
static int MouseRawX, MouseRawY;
|
2022-04-29 10:26:14 -04:00
|
|
|
|
|
|
|
static void IN_ClampMouseMove();
|
|
|
|
static BOOL OnRawInput(LPARAM lParam, WPARAM);
|
|
|
|
static void IN_RawMouseMove();
|
|
|
|
static void IN_RawMouse_Init();
|
|
|
|
static void IN_Init();
|
2022-04-29 04:56:51 -04:00
|
|
|
};
|
|
|
|
}
|