GetRawInputData
GetRawInputData is a function in the Windows API that retrieves raw input data from a device. This data can include information from input devices such as keyboards, mice, and joysticks. The function is part of the Raw Input API, which provides a low-level interface for handling input devices.
To use GetRawInputData, an application typically first registers for raw input notifications using the RegisterRawInputDevices function.
The function requires a handle to the input data structure, which is typically obtained from the WM_INPUT
The data retrieved by GetRawInputData is usually in the form of RAWINPUT structures, which contain details