HID services: Difference between revisions

Line 94: Line 94:
| 104 || DeactivateNpad
| 104 || DeactivateNpad
|-
|-
| 106 || AcquireNpadStyleSetUpdateEventHandle
| 106 || [[#AcquireNpadStyleSetUpdateEventHandle]]
|-
|-
| 107 || DisconnectNpad
| 107 || DisconnectNpad
Line 254: Line 254:


The input buffer contains an array of u32 [[#NpadIdType]].
The input buffer contains an array of u32 [[#NpadIdType]].
== AcquireNpadStyleSetUpdateEventHandle ==
Takes an input u32, an u64 [[AM_services|AppletResourceUserId]], and an u64. Returns an output event handle, autoclear for this is user-specified.
The value for the last u64 presumably (?) doesn't matter: official sw sets this to the address of the structure used for storing the event which is initialized after using this cmd.


== SetNpadJoyAssignmentModeSingleByDefault ==
== SetNpadJoyAssignmentModeSingleByDefault ==