pspsdk-1.0+beta2
pspimpose_driver.h File Reference

Go to the source code of this file.

Macros

#define PSP_IMPOSE_MAIN_VOLUME   0x1
 These values have been found in the 3.52 kernel.
#define PSP_IMPOSE_BACKLIGHT_BRIGHTNESS   0x2
#define PSP_IMPOSE_EQUALIZER_MODE   0x4
#define PSP_IMPOSE_MUTE   0x8
#define PSP_IMPOSE_AVLS   0x10
#define PSP_IMPOSE_TIME_FORMAT   0x20
#define PSP_IMPOSE_DATE_FORMAT   0x40
#define PSP_IMPOSE_LANGUAGE   0x80
#define PSP_IMPOSE_BACKLIGHT_OFF_INTERVAL   0x200
#define PSP_IMPOSE_SOUND_REDUCTION   0x400
#define PSP_IMPOSE_UMD_POPUP_ENABLED   1
#define PSP_IMPOSE_UMD_POPUP_DISABLED   0

Typedefs

typedef int SceImposeParam

Functions

int sceImposeGetParam (SceImposeParam param)
 Fetch the value of an Impose parameter.
int sceImposeSetParam (SceImposeParam param, int value)
 Change the value of an Impose parameter.
int sceImposeGetBacklightOffTime (void)
 Get the value of the backlight timer.
int sceImposeSetBacklightOffTime (int value)
 Set the value of the backlight timer.
int sceImposeGetLanguageMode (int *lang, int *button)
 Get the language and button assignment parameters.
int sceImposeSetLanguageMode (int lang, int button)
 Set the language and button assignment parameters.
int sceImposeGetUMDPopup (void)
 Get the value of the UMD popup.
int sceImposeSetUMDPopup (int value)
 Set the value of the UMD popup.
int sceImposeGetHomePopup (void)
 Get the value of the Home popup.
int sceImposeSetHomePopup (int value)
 Set the value of the Home popup.
int sceImposeCheckVideoOut (int *value)
 Check the video out.

Macro Definition Documentation

#define PSP_IMPOSE_AVLS   0x10
#define PSP_IMPOSE_BACKLIGHT_BRIGHTNESS   0x2
#define PSP_IMPOSE_BACKLIGHT_OFF_INTERVAL   0x200
#define PSP_IMPOSE_DATE_FORMAT   0x40
#define PSP_IMPOSE_EQUALIZER_MODE   0x4
#define PSP_IMPOSE_LANGUAGE   0x80
#define PSP_IMPOSE_MAIN_VOLUME   0x1

These values have been found in the 3.52 kernel.

Therefore, they might not be supported by previous ones.

#define PSP_IMPOSE_MUTE   0x8
#define PSP_IMPOSE_SOUND_REDUCTION   0x400
#define PSP_IMPOSE_TIME_FORMAT   0x20
#define PSP_IMPOSE_UMD_POPUP_DISABLED   0
#define PSP_IMPOSE_UMD_POPUP_ENABLED   1

Typedef Documentation

typedef int SceImposeParam

Function Documentation

int sceImposeCheckVideoOut ( int *  value)

Check the video out.

(for psp slim?)

Parameters
value- video out mode/status(?)
Returns
< 0 on error
int sceImposeGetBacklightOffTime ( void  )

Get the value of the backlight timer.

Returns
backlight timer in seconds or < 0 on error
int sceImposeGetHomePopup ( void  )

Get the value of the Home popup.

Returns
home popup state or < 0 on error
int sceImposeGetLanguageMode ( int *  lang,
int *  button 
)

Get the language and button assignment parameters.

Returns
< 0 on error
int sceImposeGetParam ( SceImposeParam  param)

Fetch the value of an Impose parameter.

Returns
value of the parameter on success, < 0 on error
int sceImposeGetUMDPopup ( void  )

Get the value of the UMD popup.

Returns
umd popup state or < 0 on error
int sceImposeSetBacklightOffTime ( int  value)

Set the value of the backlight timer.

Parameters
value- The backlight timer. (30 to a lot of seconds)
Returns
< 0 on error
int sceImposeSetHomePopup ( int  value)

Set the value of the Home popup.

Parameters
value- The popup mode.
Returns
< 0 on error
int sceImposeSetLanguageMode ( int  lang,
int  button 
)

Set the language and button assignment parameters.

/!\ parameter values not known.

Parameters
lang- Language
button- Button assignment
Returns
< 0 on error
int sceImposeSetParam ( SceImposeParam  param,
int  value 
)

Change the value of an Impose parameter.

Parameters
param- The parameter to change.
value- The value to set the parameter to.
Returns
< 0 on error
int sceImposeSetUMDPopup ( int  value)

Set the value of the UMD popup.

Parameters
value- The popup mode.
Returns
< 0 on error