Addressed review remarks
This commit is contained in:
parent
dd24225477
commit
fc888cac2d
|
@ -67,6 +67,10 @@ typedef enum class _XBOX_INPUT_DEVICE : int {
|
|||
}
|
||||
XBOX_INPUT_DEVICE;
|
||||
|
||||
// Flags that indicate that WM_MOUSELEAVE and WM_MOUSEMOVE respectively are being tracked in the rendering window procedure
|
||||
inline bool g_bIsTrackingMoLeave = false;
|
||||
inline bool g_bIsTrackingMoMove = false;
|
||||
|
||||
// Lookup array used to translate a gui port to an xbox usb port and vice versa
|
||||
extern int Gui2XboxPortArray[4];
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@ using namespace std::literals::chrono_literals;
|
|||
|
||||
// Global(s)
|
||||
HWND g_hEmuWindow = NULL; // rendering window
|
||||
bool g_bClipCursor = false; // indicates that the mouse cursor should be confined inside the rendering window
|
||||
IDirect3DDevice *g_pD3DDevice = nullptr; // Direct3D Device
|
||||
|
||||
// Static Variable(s)
|
||||
|
|
|
@ -112,11 +112,9 @@ size_t g_SystemMaxMemory = 0;
|
|||
|
||||
HANDLE g_CurrentProcessHandle = 0; // Set in CxbxKrnlMain
|
||||
bool g_bIsWine = false;
|
||||
bool g_bClipCursor = false;
|
||||
|
||||
bool g_CxbxPrintUEM = false;
|
||||
ULONG g_CxbxFatalErrorCode = FATAL_ERROR_NONE;
|
||||
bool g_bIsTrackingMoLeave = false;
|
||||
bool g_bIsTrackingMoMove = false;
|
||||
|
||||
// Define function located in EmuXApi so we can call it from here
|
||||
void SetupXboxDeviceTypes();
|
||||
|
|
|
@ -203,8 +203,6 @@ extern bool g_bIsWine;
|
|||
extern bool g_bClipCursor;
|
||||
extern bool g_CxbxPrintUEM;
|
||||
extern ULONG g_CxbxFatalErrorCode;
|
||||
extern bool g_bIsTrackingMoLeave;
|
||||
extern bool g_bIsTrackingMoMove;
|
||||
|
||||
extern size_t g_SystemMaxMemory;
|
||||
|
||||
|
|
|
@ -377,7 +377,7 @@
|
|||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 136
|
||||
#define _APS_NEXT_COMMAND_VALUE 40117
|
||||
#define _APS_NEXT_CONTROL_VALUE 1305
|
||||
#define _APS_NEXT_CONTROL_VALUE 1308
|
||||
#define _APS_NEXT_SYMED_VALUE 109
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue