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.