pspsdk-1.0+beta2
pspimpose_driver.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
3  * -----------------------------------------------------------------------
4  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5  *
6  * pspimpose_driver.h - Prototypes for the sceImpose_driver library.
7  *
8  * Copyright (c) 2007 Iaroslav Gaponenko <adrahil@gmail.com>
9  *
10  * $Id: pspimpose_driver.h$
11  */
12 
13 #ifndef __IMPOSE_DRIVER_H__
14 #define __IMPOSE_DRIVER_H__
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 typedef int SceImposeParam;
21 
27 #define PSP_IMPOSE_MAIN_VOLUME 0x1
28 #define PSP_IMPOSE_BACKLIGHT_BRIGHTNESS 0x2
29 #define PSP_IMPOSE_EQUALIZER_MODE 0x4
30 #define PSP_IMPOSE_MUTE 0x8
31 #define PSP_IMPOSE_AVLS 0x10
32 #define PSP_IMPOSE_TIME_FORMAT 0x20
33 #define PSP_IMPOSE_DATE_FORMAT 0x40
34 #define PSP_IMPOSE_LANGUAGE 0x80
35 #define PSP_IMPOSE_BACKLIGHT_OFF_INTERVAL 0x200
36 #define PSP_IMPOSE_SOUND_REDUCTION 0x400
37 
38 #define PSP_IMPOSE_UMD_POPUP_ENABLED 1
39 #define PSP_IMPOSE_UMD_POPUP_DISABLED 0
40 
46 int sceImposeGetParam(SceImposeParam param);
47 
56 int sceImposeSetParam(SceImposeParam param, int value);
57 
65 
73 int sceImposeSetBacklightOffTime(int value);
74 
81 int sceImposeGetLanguageMode(int* lang, int* button);
82 
93 int sceImposeSetLanguageMode(int lang, int button);
94 
101 int sceImposeGetUMDPopup(void);
102 
110 int sceImposeSetUMDPopup(int value);
111 
118 int sceImposeGetHomePopup(void);
119 
127 int sceImposeSetHomePopup(int value);
128 
136 int sceImposeCheckVideoOut(int* value);
137 
138 #ifdef __cplusplus
139 }
140 #endif
141 
142 #endif