Added note to irsensor example for using handheld-mode/non-CONTROLLER_PLAYER_*.

This commit is contained in:
yellows8 2018-03-16 19:45:36 -04:00
parent 226bae08e9
commit 54e546c63b

View File

@ -53,6 +53,7 @@ int main(int argc, char **argv)
if (R_SUCCEEDED(rc)) if (R_SUCCEEDED(rc))
{ {
rc = irsGetIrCameraHandle(&irhandle, CONTROLLER_PLAYER_1); rc = irsGetIrCameraHandle(&irhandle, CONTROLLER_PLAYER_1);
//If you want to use handheld-mode/non-CONTROLLER_PLAYER_* for irsensor you have to set irhandle directly, for example: irhandle = CONTROLLER_HANDHELD;
printf("irsGetIrCameraHandle() returned 0x%x\n", rc); printf("irsGetIrCameraHandle() returned 0x%x\n", rc);
} }