forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Changing Display Brightness (the System remembered variable)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Thu Jul 10, 2008 3:18 am    Post subject: Changing Display Brightness (the System remembered variable) Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group