blob: 8e0d89354e641ac6ab67e6ec589a0625dcb59f22 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef _PSP2_AVCONFIG_H_
#define _PSP2_AVCONFIG_H_
#include <psp2/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/***
* Get the maximum brightness.
*
* @param[out] maxBrightness - Maximum brightness.
*
* @return 0 on success, < 0 on error.
*/
int sceAVConfigGetDisplayMaxBrightness(int *maxBrightness);
/***
* Set the screen brightness.
*
* @param brightness - Brightness that the screen will be set to (range 21-65536, 0 turns off the screen).
*
* @return 0 on success, < 0 on error.
*/
int sceAVConfigSetDisplayBrightness(int brightness);
#ifdef __cplusplus
}
#endif
#endif
|