uOFW
Reverse engineered PSP kernel 6.60.
|
#include <led.h>
Data Fields | |
u8 | selectiveCmd |
u8 | numExecs |
u8 | customCmd |
u8 | unk |
s32 | onTime |
s32 | offTime |
s32 | blinkTime |
s32 | endBlinkState |
This structure represents a LED blink configuration. It needs to be specified when using sceLedSetMode and the SCE_LED_MODE_BLINK / SCE_LED_MODE_SELECTIVE_EXEC setting for the LED mode. A blink event contains an ON-/OFF-time for the target LED, the total time of the event and the final LED state at the end of the event.
Note: When using SCE:LED_MODE_BLINK, you don't need to set the first four structure members.
u8 SceLedConfiguration::selectiveCmd |
This command should be used to register/execute a custom command.
u8 SceLedConfiguration::numExecs |
The number of executions of the specified <customCmd>.
u8 SceLedConfiguration::customCmd |
The custom LED command to execute. One of SceLedCmds.
u8 SceLedConfiguration::unk |
Unknown.
s32 SceLedConfiguration::onTime |
The "on" time of a LED during a blink period.
s32 SceLedConfiguration::offTime |
The "off" time of a LED during a blink period.
s32 SceLedConfiguration::blinkTime |
The time of a blink period. Set to -1 for an infinite time period.
s32 SceLedConfiguration::endBlinkState |
The state of a LED at the end of the blink period. Either SCE_LED_MODE_OFF or SCE_LED_MODE_ON.