Line 258: |
Line 258: |
| | 529 || [8.0.0+] SetDisallowedPalmaConnection | | | 529 || [8.0.0+] SetDisallowedPalmaConnection |
| |- | | |- |
− | | 1000 || SetNpadCommunicationMode | + | | 1000 || [[#SetNpadCommunicationMode]] |
| |- | | |- |
− | | 1001 || GetNpadCommunicationMode | + | | 1001 || [[#GetNpadCommunicationMode]] |
| |- | | |- |
− | | 1002 || [9.0.0+] SetTouchScreenConfiguration | + | | 1002 || [9.0.0+] [[#SetTouchScreenConfiguration]] |
| |- | | |- |
− | | 1003 || [9.0.0+] IsFirmwareUpdateNeededForNotification | + | | 1003 || [9.0.0+] [[#IsFirmwareUpdateNeededForNotification]] |
| |- | | |- |
− | | 2000 || [10.0.0+] ActivateDigitizer | + | | 2000 || [10.0.0+] [[#ActivateDigitizer]] |
| |} | | |} |
| | | |
Line 631: |
Line 631: |
| == GetNpadOfHighestBatteryLevel == | | == GetNpadOfHighestBatteryLevel == |
| Takes a PID, a type-0x9 input buffer containing an array of u32 [[#NpadIdType]], an u64 [[AM_services|AppletResourceUserId]], returns an output u32 [[#NpadIdType]]. | | Takes a PID, a type-0x9 input buffer containing an array of u32 [[#NpadIdType]], an u64 [[AM_services|AppletResourceUserId]], returns an output u32 [[#NpadIdType]]. |
| + | |
| + | == SetNpadCommunicationMode == |
| + | Takes a PID, an [[AM_services|AppletResourceUserId]], a s64 [[#NpadCommunicationMode]], no output. |
| + | |
| + | == GetNpadCommunicationMode == |
| + | No input, returns an output s64 [[#NpadCommunicationMode]]. |
| + | |
| + | 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. |
| + | |
| + | == SetTouchScreenConfiguration == |
| + | Takes a PID, a [[#TouchScreenConfigurationForNx]], an [[AM_services|AppletResourceUserId]], no output. |
| + | |
| + | == IsFirmwareUpdateNeededForNotification == |
| + | Takes a PID, a s32, an [[AM_services|AppletResourceUserId]], no output. |
| + | |
| + | sdknso passes hard-coded value 1 for the s32. |
| + | |
| + | == ActivateDigitizer == |
| + | Takes a PID and an [[AM_services|AppletResourceUserId]], no output. |
| | | |
| == IAppletResource == | | == IAppletResource == |
Line 5,201: |
Line 5,220: |
| | Reserved | | | Reserved |
| |} | | |} |
| + | |
| + | = TouchScreenConfigurationForNx = |
| + | This is "nn::hid::TouchScreenConfigurationForNx". This is a 0x10-byte struct with 1-byte alignment. |
| | | |
| = InputSourceState = | | = InputSourceState = |
Line 5,994: |
Line 6,016: |
| |- | | |- |
| | 1 || Single | | | 1 || Single |
| + | |} |
| + | |
| + | = NpadCommunicationMode = |
| + | This is "nn::hid::NpadCommunicationMode". |
| + | |
| + | {| class="wikitable" border="1" |
| + | ! Value |
| + | ! Description |
| + | |- |
| + | | 0 || |
| + | |- |
| + | | 1 || |
| + | |- |
| + | | 2 || |
| + | |- |
| + | | 3 || |
| |} | | |} |
| | | |