Win32: [skip ci] enable logging for SpaceMouse input events to figure out why Plus XT model stopped working

This commit is contained in:
wmayer
2021-01-11 13:51:19 +01:00
parent a0bda40719
commit ddaa29d114

View File

@@ -71,8 +71,8 @@ Gui::GuiNativeEvent* Gui::GuiNativeEvent::gMouseInput = 0;
#define _TRACE_RI_TYPE 0
#define _TRACE_RIDI_DEVICENAME 0
#define _TRACE_RIDI_DEVICEINFO 0
#define _TRACE_RI_RAWDATA 0
#define _TRACE_3DINPUT_PERIOD 0
#define _TRACE_RI_RAWDATA 1
#define _TRACE_3DINPUT_PERIOD 1
#ifdef _WIN64
typedef unsigned __int64 QWORD;
@@ -1056,6 +1056,10 @@ bool Gui::GuiNativeEvent::TranslateSpaceMouseOldGeneric(UINT nInputCode, PRAWINP
pValueCaps = NULL;
hHeap = GetProcessHeap();
#ifdef _TRACE_RI_RAWDATA
qDebug("pRawInput->data.hid.bRawData[0] = 0x%x", pRawInput->data.hid.bRawData[0]);
#endif
//
// Get the preparsed data block
//