mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 02:22:15 +02:00
fan: add docs
This commit is contained in:
parent
67361ee17f
commit
fbdb73abd9
@ -1,10 +1,23 @@
|
||||
/**
|
||||
* @file fan.h
|
||||
* @brief Fan service IPC wrapper.
|
||||
* @author Behemoth
|
||||
* @copyright libnx Authors
|
||||
*/
|
||||
#pragma once
|
||||
#include "../types.h"
|
||||
#include "../sf/service.h"
|
||||
|
||||
/// Initialize fan.
|
||||
Result fanInitialize(void);
|
||||
|
||||
/// Exit fan.
|
||||
void fanExit(void);
|
||||
|
||||
/// Gets the Service object for the actual fan service session.
|
||||
Service* fanGetServiceSession(void);
|
||||
|
||||
/// Gets the Service object for the actual fan controller service session.
|
||||
Service* fanGetServiceSession_Controller(void);
|
||||
|
||||
Result fanSetRotationSpeedLevel(float level);
|
||||
|
Loading…
Reference in New Issue
Block a user