VNC and Win32 mouse clean-ups.

This commit is contained in:
OBattler
2023-08-13 18:25:56 +02:00
parent d90592b291
commit 976fe24ba1
4 changed files with 2 additions and 22 deletions

View File

@@ -32,15 +32,6 @@
int mouse_capture;
typedef struct {
int buttons;
int dx;
int dy;
int dwheel;
} MOUSESTATE;
MOUSESTATE mousestate;
void
win_mouse_init(void)
{
@@ -56,8 +47,6 @@ win_mouse_init(void)
ridev.usUsage = 0x02;
if (!RegisterRawInputDevices(&ridev, 1, sizeof(ridev)))
fatal("plat_mouse_init: RegisterRawInputDevices failed\n");
memset(&mousestate, 0, sizeof(MOUSESTATE));
}
void