HID services: Difference between revisions

No edit summary
No edit summary
Line 18: Line 18:
| 32 || [6.0.0+] [[#SendKeyboardLockKeyEvent]]
| 32 || [6.0.0+] [[#SendKeyboardLockKeyEvent]]
|-
|-
| 40 || AcquireXpadIdEventHandle
| 40 || [[#AcquireXpadIdEventHandle]]
|-
|-
| 41 || ReleaseXpadIdEventHandle
| 41 || [[#ReleaseXpadIdEventHandle]]
|-
|-
| 51 || ActivateXpad
| 51 || [[#ActivateXpad]]
|-
|-
| 55 || GetXpadIds
| 55 || [[#GetXpadIds]]
|-
|-
| 56 || ActivateJoyXpad
| 56 || [[#ActivateJoyXpad]]
|-
|-
| 58 || GetJoyXpadLifoHandle
| 58 || [[#GetJoyXpadLifoHandle]]
|-
|-
| 59 || GetJoyXpadIds
| 59 || [[#GetJoyXpadIds]]
|-
|-
| 60 || ActivateSixAxisSensor
| 60 || [[#ActivateSixAxisSensor]]
|-
|-
| 61 || DeactivateSixAxisSensor
| 61 || [[#DeactivateSixAxisSensor]]
|-
|-
| 62 || GetSixAxisSensorLifoHandle
| 62 || [[#GetSixAxisSensorLifoHandle]]
|-
|-
| 63 || ActivateJoySixAxisSensor
| 63 || [[#ActivateJoySixAxisSensor]]
|-
|-
| 64 || DeactivateJoySixAxisSensor
| 64 || [[#DeactivateJoySixAxisSensor]]
|-
|-
| 65 || GetJoySixAxisSensorLifoHandle
| 65 || [[#GetJoySixAxisSensorLifoHandle]]
|-
|-
| 66 || [[#StartSixAxisSensor]]
| 66 || [[#StartSixAxisSensor]]
Line 288: Line 288:


This is identical to the hidsys cmd.
This is identical to the hidsys cmd.
== AcquireXpadIdEventHandle ==
Takes an input u64, returns an output handle.
[10.0.0+] Stubbed, just returns 0.
== ReleaseXpadIdEventHandle ==
Takes an input u64, no output.
[10.0.0+] Stubbed, just returns 0.
== ActivateXpad ==
Takes a PID, an u32 "nn::hid::BasicXpadId", an [[AM_services|AppletResourceUserId]], no output.
[10.0.0+] Stubbed, just returns 0.
== GetXpadIds ==
Takes a type-0xA output buffer containing an array of u32 "nn::hid::BasicXpadId", returns an output s64 total_out (which is exposed by sdknso as a s32).
[10.0.0+] Now returns a hard-coded list of Ids.
== ActivateJoyXpad ==
Takes an input u32 "nn::hid::JoyXpadId", no output.
[10.0.0+] Stubbed, just returns 0.
== GetJoyXpadLifoHandle ==
Takes an input u32 "nn::hid::JoyXpadId", returns an output handle.
[10.0.0+] Stubbed, just returns 0.
== GetJoyXpadIds ==
Takes a type-0xA output buffer containing an array of u32 "nn::hid::BasicXpadId", returns an output s64.
[10.0.0+] Stubbed, just returns 0.
== ActivateSixAxisSensor ==
Takes an input u32 "nn::hid::JoyXpadId", no output.
[10.0.0+] Stubbed, just returns 0.
== DeactivateSixAxisSensor ==
Takes an input u32 "nn::hid::JoyXpadId", no output.
[10.0.0+] Stubbed, just returns 0.
== GetSixAxisSensorLifoHandle ==
Takes an input u32 "nn::hid::JoyXpadId", returns an output handle.
[10.0.0+] Stubbed, just returns 0.
== ActivateJoySixAxisSensor ==
Takes an input u32 "nn::hid::JoyXpadId", no output.
[10.0.0+] Stubbed, just returns 0.
== DeactivateJoySixAxisSensor ==
Takes an input u32 "nn::hid::JoyXpadId", no output.
[10.0.0+] Stubbed, just returns 0.
== GetJoySixAxisSensorLifoHandle ==
Takes an input u32 "nn::hid::JoyXpadId", returns an output handle.
[10.0.0+] Stubbed, just returns 0.


== StartSixAxisSensor ==
== StartSixAxisSensor ==