forked from PAWPAW-Mirror/lib_xua
Vendor_ReadHID-> UserReadHID inline with other function naming
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
#include "xud.h"
|
#include "xud.h"
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
#ifdef HID_CONTROLS
|
#ifdef HID_CONTROLS
|
||||||
#include "vendor_hid.h"
|
#include "user_hid.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MAX(x,y) ((x)>(y) ? (x) : (y))
|
#define MAX(x,y) ((x)>(y) ? (x) : (y))
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
#include "testct_byref.h"
|
#include "testct_byref.h"
|
||||||
|
|
||||||
#ifdef HID_CONTROLS
|
#ifdef HID_CONTROLS
|
||||||
#include "vendor_hid.h"
|
#include "user_hid.h"
|
||||||
unsigned char g_hidData[1] = {0};
|
unsigned char g_hidData[1] = {0};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -593,7 +593,7 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in, chanend c_aud
|
|||||||
case XUD_SetData_Select(c_hid, ep_hid, tmp):
|
case XUD_SetData_Select(c_hid, ep_hid, tmp):
|
||||||
{
|
{
|
||||||
g_hidData[0]=0;
|
g_hidData[0]=0;
|
||||||
Vendor_ReadHIDButtons(g_hidData);
|
UserReadHIDButtons(g_hidData);
|
||||||
XUD_SetReady_In(ep_hid, g_hidData, 1);
|
XUD_SetReady_In(ep_hid, g_hidData, 1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user