aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Usb
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2019-09-19 02:45:11 +0200
committerjduncanator <1518948+jduncanator@users.noreply.github.com>2019-09-19 10:45:11 +1000
commita0720b5681852f3d786d77bd3793b0359dea321c (patch)
tree9d8f61e540d1d1d827999902dad95e5c0c1e076e /Ryujinx.HLE/HOS/Services/Usb
parent4af3101b22e6957d6aa48a2768566d658699f4ed (diff)
Refactoring HOS folder structure (#771)
* Refactoring HOS folder structure Refactoring HOS folder structure: - Added some subfolders when needed (Following structure decided in private). - Added some `Types` folders when needed. - Little cleanup here and there. - Add services placeholders for every HOS services (close #766 and #753). * Remove Types namespaces
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Usb')
-rw-r--r--Ryujinx.HLE/HOS/Services/Usb/IClientRootSession.cs9
-rw-r--r--Ryujinx.HLE/HOS/Services/Usb/IDsService.cs8
-rw-r--r--Ryujinx.HLE/HOS/Services/Usb/IPdCradleManager.cs8
-rw-r--r--Ryujinx.HLE/HOS/Services/Usb/IPdManager.cs8
-rw-r--r--Ryujinx.HLE/HOS/Services/Usb/IPmService.cs8
-rw-r--r--Ryujinx.HLE/HOS/Services/Usb/IUnknown1.cs8
-rw-r--r--Ryujinx.HLE/HOS/Services/Usb/IUnknown2.cs8
7 files changed, 57 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Usb/IClientRootSession.cs b/Ryujinx.HLE/HOS/Services/Usb/IClientRootSession.cs
new file mode 100644
index 00000000..56b12af0
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Usb/IClientRootSession.cs
@@ -0,0 +1,9 @@
+namespace Ryujinx.HLE.HOS.Services.Usb
+{
+ [Service("usb:hs")]
+ [Service("usb:hs:a")] // 7.0.0+
+ class IClientRootSession : IpcService
+ {
+ public IClientRootSession(ServiceCtx context) { }
+ }
+} \ No newline at end of file
diff --git a/Ryujinx.HLE/HOS/Services/Usb/IDsService.cs b/Ryujinx.HLE/HOS/Services/Usb/IDsService.cs
new file mode 100644
index 00000000..4dbb6fc1
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Usb/IDsService.cs
@@ -0,0 +1,8 @@
+namespace Ryujinx.HLE.HOS.Services.Usb
+{
+ [Service("usb:ds")]
+ class IDsService : IpcService
+ {
+ public IDsService(ServiceCtx context) { }
+ }
+} \ No newline at end of file
diff --git a/Ryujinx.HLE/HOS/Services/Usb/IPdCradleManager.cs b/Ryujinx.HLE/HOS/Services/Usb/IPdCradleManager.cs
new file mode 100644
index 00000000..cecdbc31
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Usb/IPdCradleManager.cs
@@ -0,0 +1,8 @@
+namespace Ryujinx.HLE.HOS.Services.Usb
+{
+ [Service("usb:pd:c")]
+ class IPdCradleManager : IpcService
+ {
+ public IPdCradleManager(ServiceCtx context) { }
+ }
+} \ No newline at end of file
diff --git a/Ryujinx.HLE/HOS/Services/Usb/IPdManager.cs b/Ryujinx.HLE/HOS/Services/Usb/IPdManager.cs
new file mode 100644
index 00000000..1fb574d2
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Usb/IPdManager.cs
@@ -0,0 +1,8 @@
+namespace Ryujinx.HLE.HOS.Services.Usb
+{
+ [Service("usb:pd")]
+ class IPdManager : IpcService
+ {
+ public IPdManager(ServiceCtx context) { }
+ }
+} \ No newline at end of file
diff --git a/Ryujinx.HLE/HOS/Services/Usb/IPmService.cs b/Ryujinx.HLE/HOS/Services/Usb/IPmService.cs
new file mode 100644
index 00000000..38beee07
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Usb/IPmService.cs
@@ -0,0 +1,8 @@
+namespace Ryujinx.HLE.HOS.Services.Usb
+{
+ [Service("usb:pm")]
+ class IPmService : IpcService
+ {
+ public IPmService(ServiceCtx context) { }
+ }
+} \ No newline at end of file
diff --git a/Ryujinx.HLE/HOS/Services/Usb/IUnknown1.cs b/Ryujinx.HLE/HOS/Services/Usb/IUnknown1.cs
new file mode 100644
index 00000000..0981e4ff
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Usb/IUnknown1.cs
@@ -0,0 +1,8 @@
+namespace Ryujinx.HLE.HOS.Services.Usb
+{
+ [Service("usb:qdb")] // 7.0.0+
+ class IUnknown1 : IpcService
+ {
+ public IUnknown1(ServiceCtx context) { }
+ }
+} \ No newline at end of file
diff --git a/Ryujinx.HLE/HOS/Services/Usb/IUnknown2.cs b/Ryujinx.HLE/HOS/Services/Usb/IUnknown2.cs
new file mode 100644
index 00000000..563696bb
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Services/Usb/IUnknown2.cs
@@ -0,0 +1,8 @@
+namespace Ryujinx.HLE.HOS.Services.Usb
+{
+ [Service("usb:obsv")] // 8.0.0+
+ class IUnknown2 : IpcService
+ {
+ public IUnknown2(ServiceCtx context) { }
+ }
+} \ No newline at end of file