Using GetRawInputBuffer correctly

前端 未结 2 1137
梦如初夏
梦如初夏 2021-01-21 20:10

I\'m attempting to use the Win32 Raw Input API to collect raw mouse data with higher precision, but I can\'t seem to make sense of the documentation and samples at all for

2条回答
  •  没有蜡笔的小新
    2021-01-21 20:45

    Long late answer, but GetRawInputBuffer seems to be used for polling outside of the message processing loop. Use GetRawInputData within WM_INPUT handling or use GetRawInputBuffer outside the message processing loop.

提交回复
热议问题