pspimpose_driver.h

Go to the documentation of this file.
00001 /*
00002  * PSP Software Development Kit - http://www.pspdev.org
00003  * -----------------------------------------------------------------------
00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
00005  *
00006  * pspimpose_driver.h - Prototypes for the sceImpose_driver library.
00007  *
00008  * Copyright (c) 2007 Iaroslav Gaponenko <adrahil@gmail.com>
00009  *
00010  * $Id: pspimpose_driver.h$
00011  */
00012 
00013 #ifndef __IMPOSE_DRIVER_H__
00014 #define __IMPOSE_DRIVER_H__
00015 
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019 
00020 typedef int SceImposeParam;
00021 
00027 #define PSP_IMPOSE_MAIN_VOLUME                  0x1
00028 #define PSP_IMPOSE_BACKLIGHT_BRIGHTNESS         0x2
00029 #define PSP_IMPOSE_EQUALIZER_MODE               0x4
00030 #define PSP_IMPOSE_MUTE                         0x8
00031 #define PSP_IMPOSE_AVLS                         0x10
00032 #define PSP_IMPOSE_TIME_FORMAT                  0x20
00033 #define PSP_IMPOSE_DATE_FORMAT                  0x40
00034 #define PSP_IMPOSE_LANGUAGE                     0x80
00035 #define PSP_IMPOSE_BACKLIGHT_OFF_INTERVAL       0x200
00036 #define PSP_IMPOSE_SOUND_REDUCTION              0x400
00037 
00038 #define PSP_IMPOSE_UMD_POPUP_ENABLED 1
00039 #define PSP_IMPOSE_UMD_POPUP_DISABLED 0
00040 
00046 int sceImposeGetParam(SceImposeParam param);
00047 
00056 int sceImposeSetParam(SceImposeParam param, int value);
00057 
00064 int sceImposeGetBacklightOffTime(void); 
00065 
00073 int sceImposeSetBacklightOffTime(int value); 
00074 
00081 int sceImposeGetLanguageMode(int* lang, int* button); 
00082 
00093 int sceImposeSetLanguageMode(int lang, int button); 
00094 
00101 int sceImposeGetUMDPopup(void); 
00102 
00110 int sceImposeSetUMDPopup(int value); 
00111 
00118 int sceImposeGetHomePopup(void); 
00119 
00127 int sceImposeSetHomePopup(int value); 
00128 
00136 int sceImposeCheckVideoOut(int* value);
00137 
00138 #ifdef __cplusplus
00139 }
00140 #endif
00141 
00142 #endif