mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 05:12:40 +02:00
Added note to irsensor example for using handheld-mode/non-CONTROLLER_PLAYER_*.
This commit is contained in:
parent
226bae08e9
commit
54e546c63b
@ -53,6 +53,7 @@ int main(int argc, char **argv)
|
||||
if (R_SUCCEEDED(rc))
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user