Changing Display Brightness (the System remembered variable)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Changing Display Brightness (the System remembered variable)

Post by Torch »

I presume the system has preset brightness levels say 25,50,75,100.
On pressing the display button it cycles through these in order.

However, suppose the current brightness is 75, and I change the brightness to 25 using sceDisplaySetBrightness, the next time the display button is pressed it will go to 100, because it remembers the last level as 75.

How do I make it such that it goes to the next level higher that what I set it to in my program, when the display button is pressed.

I'm guessing that I'd have to change the current level somewhere in memory.
Post Reply