mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-26 10:33:05 +00:00
HidServer stuff
This commit is contained in:
parent
baf85f3b93
commit
0c79bfc064
5 changed files with 1144 additions and 12 deletions
File diff suppressed because it is too large
Load diff
10
src/Ryujinx.Horizon/Sdk/Hid/Address.cs
Normal file
10
src/Ryujinx.Horizon/Sdk/Hid/Address.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Hid
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Size = 0x6)]
|
||||
struct Address
|
||||
{
|
||||
|
||||
}
|
||||
}
|
|
@ -17,17 +17,17 @@ namespace Ryujinx.Horizon.Sdk.Hid
|
|||
Result SendKeyboardLockKeyEvent(AppletResourceUserId appletResourceUserId, KeyboardLockKeyEvent keyboardLockKeyEvent, ulong pid);
|
||||
Result AcquireXpadIdEventHandle(out int arg0, ulong arg1);
|
||||
Result ReleaseXpadIdEventHandle(ulong arg0);
|
||||
Result ActivateXpad(AppletResourceUserId appletResourceUserId, BasicXpadId arg1, ulong pid);
|
||||
Result GetXpadIds(out long arg0, Span<BasicXpadId> arg1);
|
||||
Result ActivateJoyXpad(JoyXpadId arg0);
|
||||
Result GetJoyXpadLifoHandle(out int arg0, JoyXpadId arg1);
|
||||
Result GetJoyXpadIds(out long arg0, Span<JoyXpadId> arg1);
|
||||
Result ActivateSixAxisSensor(BasicXpadId arg0);
|
||||
Result DeactivateSixAxisSensor(BasicXpadId arg0);
|
||||
Result GetSixAxisSensorLifoHandle(out int arg0, BasicXpadId arg1);
|
||||
Result ActivateJoySixAxisSensor(JoyXpadId arg0);
|
||||
Result DeactivateJoySixAxisSensor(JoyXpadId arg0);
|
||||
Result GetJoySixAxisSensorLifoHandle(out int arg0, JoyXpadId arg1);
|
||||
Result ActivateXpad(AppletResourceUserId appletResourceUserId, uint basixXpadId, ulong pid);
|
||||
Result GetXpadIds(out long arg0, Span<uint> basicXpadIds);
|
||||
Result ActivateJoyXpad(uint joyXpadId);
|
||||
Result GetJoyXpadLifoHandle(out int arg0, uint joyXpadId);
|
||||
Result GetJoyXpadIds(out long arg0, Span<uint> joyXpadIds);
|
||||
Result ActivateSixAxisSensor(uint basixXpadId);
|
||||
Result DeactivateSixAxisSensor(uint basixXpadId);
|
||||
Result GetSixAxisSensorLifoHandle(out int arg0, uint basixXpadId);
|
||||
Result ActivateJoySixAxisSensor(uint joyXpadId);
|
||||
Result DeactivateJoySixAxisSensor(uint joyXpadId);
|
||||
Result GetJoySixAxisSensorLifoHandle(out int arg0, uint joyXpadId);
|
||||
Result StartSixAxisSensor(AppletResourceUserId appletResourceUserId, SixAxisSensorHandle sixAxisSensorHandle, ulong pid);
|
||||
Result StopSixAxisSensor(AppletResourceUserId appletResourceUserId, SixAxisSensorHandle sixAxisSensorHandle, ulong pid);
|
||||
Result IsSixAxisSensorFusionEnabled(out bool arg0, AppletResourceUserId appletResourceUserId, SixAxisSensorHandle sixAxisSensorHandle, ulong pid);
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
using Ryujinx.Horizon.Sdk.Sf;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Hid
|
||||
{
|
||||
interface IAppletResource : IServiceObject
|
||||
{
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
using Ryujinx.Horizon.Common;
|
||||
using Ryujinx.Horizon.Sdk.Sf;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Hid.Vibration
|
||||
{
|
||||
interface IActiveVibrationDeviceList : IServiceObject
|
||||
{
|
||||
Result ActivateVibrationDevice(VibrationDeviceHandle vibrationDeviceHandle);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue