mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 21:06:58 -05:00
service/usb: Update function tables
This commit is contained in:
parent
43039d95ac
commit
8dd6dc9a29
1 changed files with 15 additions and 27 deletions
|
@ -17,19 +17,19 @@ public:
|
||||||
explicit IDsInterface(Core::System& system_) : ServiceFramework{system_, "IDsInterface"} {
|
explicit IDsInterface(Core::System& system_) : ServiceFramework{system_, "IDsInterface"} {
|
||||||
// clang-format off
|
// clang-format off
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0, nullptr, "GetDsEndpoint"},
|
{0, nullptr, "BindDevice"},
|
||||||
{1, nullptr, "GetSetupEvent"},
|
{1, nullptr, "BindClientProcess"},
|
||||||
{2, nullptr, "Unknown2"},
|
{2, nullptr, "AddInterface"},
|
||||||
{3, nullptr, "EnableInterface"},
|
{3, nullptr, "GetStateChangeEvent"},
|
||||||
{4, nullptr, "DisableInterface"},
|
{4, nullptr, "GetState"},
|
||||||
{5, nullptr, "CtrlInPostBufferAsync"},
|
{5, nullptr, "ClearDeviceData"},
|
||||||
{6, nullptr, "CtrlOutPostBufferAsync"},
|
{6, nullptr, "AddUsbStringDescriptor"},
|
||||||
{7, nullptr, "GetCtrlInCompletionEvent"},
|
{7, nullptr, "DeleteUsbStringDescriptor"},
|
||||||
{8, nullptr, "GetCtrlInReportData"},
|
{8, nullptr, "SetUsbDeviceDescriptor"},
|
||||||
{9, nullptr, "GetCtrlOutCompletionEvent"},
|
{9, nullptr, "SetBinaryObjectStore"},
|
||||||
{10, nullptr, "GetCtrlOutReportData"},
|
{10, nullptr, "Enable"},
|
||||||
{11, nullptr, "StallCtrl"},
|
{11, nullptr, "Disable"},
|
||||||
{12, nullptr, "AppendConfigurationData"},
|
{12, nullptr, "Unknown12"},
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
@ -42,19 +42,7 @@ public:
|
||||||
explicit USB_DS(Core::System& system_) : ServiceFramework{system_, "usb:ds"} {
|
explicit USB_DS(Core::System& system_) : ServiceFramework{system_, "usb:ds"} {
|
||||||
// clang-format off
|
// clang-format off
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0, nullptr, "BindDevice"},
|
{0, nullptr, "OpenDsService"},
|
||||||
{1, nullptr, "BindClientProcess"},
|
|
||||||
{2, nullptr, "GetDsInterface"},
|
|
||||||
{3, nullptr, "GetStateChangeEvent"},
|
|
||||||
{4, nullptr, "GetState"},
|
|
||||||
{5, nullptr, "ClearDeviceData"},
|
|
||||||
{6, nullptr, "AddUsbStringDescriptor"},
|
|
||||||
{7, nullptr, "DeleteUsbStringDescriptor"},
|
|
||||||
{8, nullptr, "SetUsbDeviceDescriptor"},
|
|
||||||
{9, nullptr, "SetBinaryObjectStore"},
|
|
||||||
{10, nullptr, "Enable"},
|
|
||||||
{11, nullptr, "Disable"},
|
|
||||||
{12, nullptr, "Unknown12"},
|
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
@ -120,7 +108,7 @@ public:
|
||||||
{5, nullptr, "DestroyInterfaceAvailableEvent"},
|
{5, nullptr, "DestroyInterfaceAvailableEvent"},
|
||||||
{6, nullptr, "GetInterfaceStateChangeEvent"},
|
{6, nullptr, "GetInterfaceStateChangeEvent"},
|
||||||
{7, nullptr, "AcquireUsbIf"},
|
{7, nullptr, "AcquireUsbIf"},
|
||||||
{8, nullptr, "Unknown8"},
|
{8, nullptr, "ResetDevice"},
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue