HIDResetDevice doesn't exist on 4.x. We don't need it atm so we can remove it.

This commit is contained in:
Maschell 2016-04-29 13:39:36 +02:00
parent 2524defead
commit 2d9aadeb21
2 changed files with 0 additions and 7 deletions

View File

@ -46,8 +46,6 @@ EXPORT_DECL(int, HIDSetIdle,unsigned int handle, u8 interface_index,u8 duration,
EXPORT_DECL(int, HIDRead,unsigned int handle, unsigned char *p_buffer, unsigned int buffer_length, HIDCallback hc, void *p_user);
EXPORT_DECL(int, HIDWrite,unsigned int handle, unsigned char *p_buffer, unsigned int buffer_length, HIDCallback hc, void *p_user);
EXPORT_DECL(int, HIDResetDevice,unsigned int handle, HIDCallback hc, void *p_user);
void InitAcquireSysHID(void)
{
OSDynLoad_Acquire("nsyshid.rpl", &syshid_handle);
@ -72,7 +70,6 @@ void InitSysHIDFunctionPointers(void)
OS_FIND_EXPORT(syshid_handle, HIDSetDescriptor);
OS_FIND_EXPORT(syshid_handle, HIDRead);
OS_FIND_EXPORT(syshid_handle, HIDWrite);
OS_FIND_EXPORT(syshid_handle, HIDResetDevice);
OS_FIND_EXPORT(syshid_handle, HIDSetProtocol);
OS_FIND_EXPORT(syshid_handle, HIDGetProtocol);
OS_FIND_EXPORT(syshid_handle, HIDSetIdle);

View File

@ -80,13 +80,9 @@ extern int(*HIDSetIdle)(unsigned int handle, u8 interface_index,u8 duration, HID
extern int(* HIDSetProtocol)(unsigned int handle,u8 interface_index,u8 protocol, HIDCallback hc, void *p_user);
extern int(* HIDGetProtocol)(unsigned int handle,u8 interface_index,u8 * protocol, HIDCallback hc, void *p_user);
extern int(*HIDRead)(unsigned int handle, unsigned char *p_buffer, unsigned int buffer_length, HIDCallback hc, void *p_user);
extern int(*HIDWrite)(unsigned int handle, unsigned char *p_buffer, unsigned int buffer_length, HIDCallback hc, void *p_user);
extern int(*HIDResetDevice)(unsigned int handle, HIDCallback hc, void *p_user);
#ifdef __cplusplus
}
#endif