sonarlint work in the win32 ui
This commit is contained in:
@@ -28,8 +28,9 @@
|
||||
#include <86box/win.h>
|
||||
|
||||
int mouse_capture;
|
||||
double mouse_sensitivity = 1.0; /* Unused. */
|
||||
double mouse_x_error = 0.0, mouse_y_error = 0.0; /* Unused. */
|
||||
double mouse_sensitivity = 1.0; /* Unused. */
|
||||
double mouse_x_error = 0.0; /* Unused. */
|
||||
double mouse_y_error = 0.0; /* Unused. */
|
||||
|
||||
typedef struct {
|
||||
int buttons;
|
||||
@@ -63,7 +64,8 @@ void
|
||||
win_mouse_handle(PRAWINPUT raw)
|
||||
{
|
||||
RAWMOUSE state = raw->data.mouse;
|
||||
static int x, y;
|
||||
static int x;
|
||||
static int y;
|
||||
|
||||
/* read mouse buttons and wheel */
|
||||
if (state.usButtonFlags & RI_MOUSE_LEFT_BUTTON_DOWN)
|
||||
|
||||
Reference in New Issue
Block a user