PSPSDK 2024-10-31
Loading...
Searching...
No Matches
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

◆ PSP_IMPOSE_AVLS

#define PSP_IMPOSE_AVLS   0x10

◆ PSP_IMPOSE_BACKLIGHT_BRIGHTNESS

#define PSP_IMPOSE_BACKLIGHT_BRIGHTNESS   0x2

◆ PSP_IMPOSE_BACKLIGHT_OFF_INTERVAL

#define PSP_IMPOSE_BACKLIGHT_OFF_INTERVAL   0x200

◆ PSP_IMPOSE_DATE_FORMAT

#define PSP_IMPOSE_DATE_FORMAT   0x40

◆ PSP_IMPOSE_EQUALIZER_MODE

#define PSP_IMPOSE_EQUALIZER_MODE   0x4

◆ PSP_IMPOSE_LANGUAGE

#define PSP_IMPOSE_LANGUAGE   0x80

◆ PSP_IMPOSE_MAIN_VOLUME

#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.

◆ PSP_IMPOSE_MUTE

#define PSP_IMPOSE_MUTE   0x8

◆ PSP_IMPOSE_SOUND_REDUCTION

#define PSP_IMPOSE_SOUND_REDUCTION   0x400

◆ PSP_IMPOSE_TIME_FORMAT

#define PSP_IMPOSE_TIME_FORMAT   0x20

◆ PSP_IMPOSE_UMD_POPUP_DISABLED

#define PSP_IMPOSE_UMD_POPUP_DISABLED   0

◆ PSP_IMPOSE_UMD_POPUP_ENABLED

#define PSP_IMPOSE_UMD_POPUP_ENABLED   1

Typedef Documentation

◆ SceImposeParam

Function Documentation

◆ sceImposeCheckVideoOut()

int sceImposeCheckVideoOut ( int value)

Check the video out.

(for psp slim?)

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

◆ sceImposeGetBacklightOffTime()

int sceImposeGetBacklightOffTime ( void  )

Get the value of the backlight timer.

Returns
backlight timer in seconds or < 0 on error

◆ sceImposeGetHomePopup()

int sceImposeGetHomePopup ( void  )

Get the value of the Home popup.

Returns
home popup state or < 0 on error

◆ sceImposeGetLanguageMode()

int sceImposeGetLanguageMode ( int lang,
int button 
)

Get the language and button assignment parameters.

Returns
< 0 on error

◆ sceImposeGetParam()

int sceImposeGetParam ( SceImposeParam  param)

Fetch the value of an Impose parameter.

Returns
value of the parameter on success, < 0 on error

◆ sceImposeGetUMDPopup()

int sceImposeGetUMDPopup ( void  )

Get the value of the UMD popup.

Returns
umd popup state or < 0 on error

◆ sceImposeSetBacklightOffTime()

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

◆ sceImposeSetHomePopup()

int sceImposeSetHomePopup ( int  value)

Set the value of the Home popup.

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

◆ sceImposeSetLanguageMode()

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

◆ sceImposeSetParam()

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

◆ sceImposeSetUMDPopup()

int sceImposeSetUMDPopup ( int  value)

Set the value of the UMD popup.

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