dinput: Constify some variables.
This commit is contained in:
parent
8cbba46dba
commit
e744c3a5b1
|
@ -113,7 +113,7 @@ struct JoystickImpl
|
||||||
POV povs[4];
|
POV povs[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
static GUID DInput_Wine_Joystick_GUID = { /* 9e573ed9-7734-11d2-8d4a-23903fb6bdf7 */
|
static const GUID DInput_Wine_Joystick_GUID = { /* 9e573ed9-7734-11d2-8d4a-23903fb6bdf7 */
|
||||||
0x9e573ed9,
|
0x9e573ed9,
|
||||||
0x7734,
|
0x7734,
|
||||||
0x11d2,
|
0x11d2,
|
||||||
|
|
|
@ -93,7 +93,7 @@ static LRESULT CALLBACK KeyboardCallback( int code, WPARAM wparam, LPARAM lparam
|
||||||
return CallNextHookEx(0, code, wparam, lparam);
|
return CallNextHookEx(0, code, wparam, lparam);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GUID DInput_Wine_Keyboard_GUID = { /* 0ab8648a-7735-11d2-8c73-71df54a96441 */
|
static const GUID DInput_Wine_Keyboard_GUID = { /* 0ab8648a-7735-11d2-8c73-71df54a96441 */
|
||||||
0x0ab8648a,
|
0x0ab8648a,
|
||||||
0x7735,
|
0x7735,
|
||||||
0x11d2,
|
0x11d2,
|
||||||
|
|
|
@ -73,7 +73,7 @@ struct SysMouseImpl
|
||||||
/* FIXME: This is ugly and not thread safe :/ */
|
/* FIXME: This is ugly and not thread safe :/ */
|
||||||
static IDirectInputDevice8A* current_lock = NULL;
|
static IDirectInputDevice8A* current_lock = NULL;
|
||||||
|
|
||||||
static GUID DInput_Wine_Mouse_GUID = { /* 9e573ed8-7734-11d2-8d4a-23903fb6bdf7 */
|
static const GUID DInput_Wine_Mouse_GUID = { /* 9e573ed8-7734-11d2-8d4a-23903fb6bdf7 */
|
||||||
0x9e573ed8,
|
0x9e573ed8,
|
||||||
0x7734,
|
0x7734,
|
||||||
0x11d2,
|
0x11d2,
|
||||||
|
|
Loading…
Reference in New Issue