diff --git a/Assets/Wiimote/Scripts/mainpage.dox b/Assets/Wiimote/Scripts/mainpage.dox index 0a5fdf8..988f501 100644 --- a/Assets/Wiimote/Scripts/mainpage.dox +++ b/Assets/Wiimote/Scripts/mainpage.dox @@ -120,11 +120,14 @@ float[] pointer = wiimote.Ir.GetPointingPosition(); // See "Reading from the Rem \subsection write-wmp Wii Motion Plus / Wii Remote Plus -If you want to check if a Wii Motion Plus is connected to the remote, you can use WiimoteApi::Wiimote::RequestIdentifyMotionPlus() +If you want to check if a Wii Motion Plus is connected to the remote, you can use WiimoteApi::Wiimote::RequestIdentifyWiiMotionPlus() to ping the Wii Remote and check if one is attached. When the Wii Remote reports back its data, you can use WiimoteApi::Wiimote::wmp_attached to see if a Wii Motion Plus is attached. If you want, you can activate the Wii Motion Plus using WiimoteApi::Wiimote::ActivateWiiMotionPlus(). This makes the Wii Motion Plus behave as an extension controller (such as the -nunchuck or the classic controller). See *Reading from Extension Controllers* for details. +nunchuck or the classic controller), and deactivates any "real" extension controllers. See *Reading from Extension Controllers* for details. + +\note It is technically possible to put the Wiimote in a Nunchuck or Classic Controller "passthrough" mode (where you can use + the nunchuck or classic controller at the same time as the Wii Motion Plus) but this is currently unsupported by the API. If you want to deactivate the Wii Motion Plus (and use any extension controller connected to it such as a Nunchuck or Classic Controller) you can use WiimoteApi::Wiimote::DeactivateWiiMotionPlus(). @@ -135,7 +138,7 @@ Wiimote remote; // Initialized previously bool activated = false; void Start() { - remote.RequestIdentifyMotionPlus(); + remote.RequestIdentifyWiiMotionPlus(); } void Update() { diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 6dc24f7..552b74d 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -4,4 +4,6 @@ EditorBuildSettings: m_ObjectHideFlags: 0 serializedVersion: 2 - m_Scenes: [] + m_Scenes: + - enabled: 1 + path: Assets/Scene.unity