From b2bee550ffc97fcb6d30cc8f9da55be53f8b97af Mon Sep 17 00:00:00 2001 From: rsn8887 Date: Thu, 29 Nov 2018 09:54:16 -0600 Subject: [PATCH] Improve documentation of hidMergeSingleJoyAsDualJoy --- nx/include/switch/services/hid.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nx/include/switch/services/hid.h b/nx/include/switch/services/hid.h index b83d2c19..f0555ea4 100644 --- a/nx/include/switch/services/hid.h +++ b/nx/include/switch/services/hid.h @@ -686,6 +686,8 @@ Result hidSetNpadJoyAssignmentModeSingleByDefault(HidControllerID id); Result hidSetNpadJoyAssignmentModeDual(HidControllerID id); /// Merge two single joy-cons into a dual-mode controller. Use this after \ref hidSetNpadJoyAssignmentModeDual, when \ref hidSetNpadJoyAssignmentModeSingleByDefault was previously used (this includes using this manually at application exit). +/// To be successful, id0/id1 must correspond to controller types TYPE_JOYCON_LEFT/TYPE_JOYCON_RIGHT, or TYPE_JOYCON_RIGHT/TYPE_JOYCON_LEFT. +/// If successful, the id of the resulting dual controller is set to id0. Result hidMergeSingleJoyAsDualJoy(HidControllerID id0, HidControllerID id1); Result hidInitializeVibrationDevices(u32 *VibrationDeviceHandles, size_t total_handles, HidControllerID id, HidControllerType type);