GeekIMU/4.Software/GeekIMUDriver 1.0/Src/dematrix_usb.h

42 lines
628 B
C
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#ifndef _DEMATRIX_USB_H_
#define _DEMATRIX_USB_H_
#include <stdio.h>
#include <Windows.h>
#include<basetsd.h>
#ifdef __cplusplus
extern "C"{
#endif
/*返回1则找到设备返回0 表示未找到设备*/
_declspec(dllexport) int Init_Hmd(void);
void dematrix_usb_init();
BOOL HIDFindDeviceFromVendor(USHORT PID,USHORT VID,CHAR *Path);
BOOL DM_HIDDeviceEnumerate(void);
void dematrix_usb_get_capabilities(HANDLE hid_usb_handle);
int DK2_GetFeatureReport(HANDLE hid_usb_handle);
int DK2_GetDisplayInfo(HANDLE hid_usb_handle,FILE *fp);
DWORD dematrix_usb_private_read_thread(LPVOID param);
#ifdef __cplusplus
}
#endif
#endif