GSPLCD:SetBrightness

From 3dbrew
Revision as of 01:47, 29 August 2016 by MarcusD (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000B0080] |- | 1 | Screen index (top = 1, bottom = 2) |- | 2 | Brightness lev...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x000B0080]
1 Screen index (top = 1, bottom = 2)
2 Brightness level (1 - 5)

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Sets the brightness of the given screen. The function will automatically cap the brightness level between 1 and 5, inclusive. This function behaves exactly like the brightness selector in the Home Menu, except that the brightness switch on the Home Menu remains at the same position regardless of the actual brightness level.