mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
23 lines
569 B
C
23 lines
569 B
C
/**
|
|
* @file irs.h
|
|
* @brief HID IR sensor service.
|
|
* @author yellows8
|
|
* @copyright libnx Authors
|
|
*/
|
|
#pragma once
|
|
|
|
#include "../types.h"
|
|
#include "../services/sm.h"
|
|
#include "../services/hid.h"
|
|
|
|
Result irsInitialize(void);
|
|
void irsExit(void);
|
|
|
|
Service* irsGetSessionService(void);
|
|
void* irsGetSharedmemAddr(void);
|
|
|
|
/// (De)activate the IR sensor, this is automatically used by irsExit(). Must be called after irsInitialize() to activate the IR sensor.
|
|
Result irsActivateIrsensor(bool activate);
|
|
|
|
Result irsGetIrCameraHandle(u32 *IrCameraHandle, HidControllerID id);
|