HID services: Difference between revisions

Line 821: Line 821:
== SetNpadCommunicationMode ==
== SetNpadCommunicationMode ==
Takes a PID, an [[AM_services|AppletResourceUserId]], a s64 [[#NpadCommunicationMode]], no output.
Takes a PID, an [[AM_services|AppletResourceUserId]], a s64 [[#NpadCommunicationMode]], no output.
Stubbed, just returns 0.


== GetNpadCommunicationMode ==
== GetNpadCommunicationMode ==
Line 826: Line 828:


sdknso uses a switch-statement to determine the value to write to the output [[#NpadCommunicationMode]], with the s64 (written value is the same as the s64). sdknso will Abort if the s64 is not 0-3.
sdknso uses a switch-statement to determine the value to write to the output [[#NpadCommunicationMode]], with the s64 (written value is the same as the s64). sdknso will Abort if the s64 is not 0-3.
Stubbed, just returns hard-coded output mode=3.


== SetTouchScreenConfiguration ==
== SetTouchScreenConfiguration ==