libctru
v2.4.1
|
GSPLCD service. More...
Go to the source code of this file.
Enumerations | |
enum | { GSPLCD_SCREEN_TOP = BIT(GSP_SCREEN_TOP) , GSPLCD_SCREEN_BOTTOM = BIT(GSP_SCREEN_BOTTOM) , GSPLCD_SCREEN_BOTH = GSPLCD_SCREEN_TOP | GSPLCD_SCREEN_BOTTOM } |
LCD screens. More... | |
Functions | |
Result | gspLcdInit (void) |
Initializes GSPLCD. | |
void | gspLcdExit (void) |
Exits GSPLCD. | |
Handle * | gspLcdGetSessionHandle (void) |
Gets a pointer to the current gsp::Lcd session handle. More... | |
Result | GSPLCD_PowerOnAllBacklights (void) |
Powers on both backlights. | |
Result | GSPLCD_PowerOffAllBacklights (void) |
Powers off both backlights. | |
Result | GSPLCD_PowerOnBacklight (u32 screen) |
Powers on the backlight. More... | |
Result | GSPLCD_PowerOffBacklight (u32 screen) |
Powers off the backlight. More... | |
Result | GSPLCD_SetLedForceOff (bool disable) |
Sets 3D_LEDSTATE to the input state value. More... | |
Result | GSPLCD_GetVendors (u8 *vendors) |
Gets the LCD screens' vendors. More... | |
Result | GSPLCD_GetBrightness (u32 screen, u32 *brightness) |
Gets the LCD screens' brightness. More... | |
Result | GSPLCD_SetBrightness (u32 screen, u32 brightness) |
Sets the LCD screens' brightness. More... | |
Result | GSPLCD_SetBrightnessRaw (u32 screen, u32 brightness) |
Sets the LCD screens' raw brightness. More... | |
GSPLCD service.
anonymous enum |
Gets the LCD screens' brightness.
Stubbed on old 3ds.
screen | Screen to get the brightness value of. |
brightness | Brightness value returned. |
Gets the LCD screens' vendors.
Stubbed on old 3ds.
vendor | Pointer to output the screen vendors to. |
Powers off the backlight.
screen | Screen to power off. |
Powers on the backlight.
screen | Screen to power on. |
Sets the LCD screens' brightness.
screen | Screen to set the brightness value of. |
brightness | Brightness value set. |
Sets the LCD screens' raw brightness.
screen | Screen to set the brightness value of. |
brightness | Brightness value set. |
Result GSPLCD_SetLedForceOff | ( | bool | disable | ) |
Sets 3D_LEDSTATE to the input state value.
disable | False = 3D LED enable, true = 3D LED disable. |
Handle* gspLcdGetSessionHandle | ( | void | ) |
Gets a pointer to the current gsp::Lcd session handle.