mirror of
https://github.com/ApacheThunder/nCard_USB_Examples.git
synced 2025-06-19 03:35:35 -04:00

* Initial commit of modified source code. * Arm7 for both apps appears to be some form of template arm7 setup. Perhaps from the ancient version of libnds this used to use. I just used the default arm7 template code from current version of libnds...seems to do the job.
27 lines
575 B
C
27 lines
575 B
C
#ifndef __HIDUSER_H__
|
|
#define __HIDUSER_H__
|
|
|
|
|
|
/* HID Number of Reports */
|
|
#define HID_REPORT_NUM 1
|
|
|
|
/* HID Global Variables */
|
|
extern BYTE HID_Protocol;
|
|
extern BYTE HID_IdleTime[HID_REPORT_NUM];
|
|
|
|
/* HID Requests Callback Functions */
|
|
extern BOOL HID_GetReport (void);
|
|
extern BOOL HID_SetReport (void);
|
|
extern BOOL HID_GetIdle (void);
|
|
extern BOOL HID_SetIdle (void);
|
|
extern BOOL HID_GetProtocol (void);
|
|
extern BOOL HID_SetProtocol (void);
|
|
|
|
extern BYTE InReport[3];
|
|
extern BYTE OutReport;
|
|
void GetInReport();
|
|
void SetOutReport();
|
|
|
|
#endif /* __HIDUSER_H__ */
|
|
|