HID services: Difference between revisions

Line 1,124: Line 1,124:
This is exclusive to S2.
This is exclusive to S2.


Takes a PID, a handle, an u8, 3 u32s, an [[AM_services|AppletResourceUserId]], an u64, no output.
Takes a PID, a TransferMemory handle, an u8, an u32 width, an u32 height, an u32, an [[AM_services|AppletResourceUserId]], an u64 tmem_size, no output.
 
The input TransferMemory is created with permissions = R--. The user-process later reads from the buffer used with this.
 
Official sw always (?) passes value 1 for the last u32.
 
This and the related nearby cmds are likely (?) for Joy-Con 2 Mouse Mode.


== Cmd3140 ==
== Cmd3140 ==