[DllImport("user32.dll", SetLastError = true)] public static extern bool RegisterRawInputDevices( RAWINPUTDEVICE[] pRawInputDevices, uint uiNumDevices, uint cbSize );
Microsoft documentation: Link
Last updated 2 months ago