GeekIMU/4.Software/GeekIMU Manager GUI 1.2/GeekIMUDriver 1.2/Src/dematrix_usb.h

42 lines
628 B
C
Raw Normal View History

2024-11-09 21:39:20 +08:00
#ifndef _DEMATRIX_USB_H_
#define _DEMATRIX_USB_H_
#include <stdio.h>
#include <Windows.h>
#include<basetsd.h>
#ifdef __cplusplus
extern "C"{
#endif
/*<2A><><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD>ҵ<EFBFBD><D2B5><EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0 <20><>ʾδ<CABE>ҵ<EFBFBD><D2B5>豸*/
_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