PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan

Notices



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2007, 01:51 PM
bluecdxx's Avatar
Lurker
Offline
Pocket PC: Touch Pro
Carrier: Sprint
 
Join Date: Oct 2007
Posts: 11
Reputation: 0
bluecdxx is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Question Setting back light adjust to a hard button

I am looking for a way to set one of my hard buttons to adjust my back light on my Mogul. Either something that would cycle through multiple settings or a toggle from where I currently am to max backlight would be ideal. I have searched and found Easy brightness control but I was hoping for a way to do this without running spb mobile shell or pocket plus seeing the only function I really want from them is a back light hard button.

Any help is greatly appreciated.
Reply With Quote
  #2 (permalink)  
Old 10-28-2007, 12:23 AM
bluecdxx's Avatar
Lurker
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Threadstarter
 
Join Date: Oct 2007
Posts: 11
Reputation: 0
bluecdxx is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Is there no other way to do what I want except with Spb products?
Reply With Quote
  #3 (permalink)  
Old 10-28-2007, 12:29 AM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
you could write a mortscript script to write registry values to adjust the backlight to max and tie it to a hard button.

http://www.sto-helit.de/index.php?mo...=list&entry=20
__________________
What is Today But Yesterday's Tomorrow
Remember to press for any help you may have received.



Last edited by andason; 10-28-2007 at 12:31 AM.
Reply With Quote
  #4 (permalink)  
Old 10-28-2007, 12:48 AM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
for example.. unzip this and place it on your ppc at \windows\start menu\programs

then go to buttons in settings and tie a button to it.

you will need to also install mortscript for this to work.


#Script to change backlight settings
#Read registry settings
Brightness = RegRead ("HKCU", "ControlPanel\Backlight", "Brightness")
ACBrightness = RegRead ("HKCU", "ControlPanel\Backlight", "ACBrightness")

#Turn on the lights
RegWriteDword ("HKCU", "ControlPanel\Backlight", "Brightness", 10)
RegWriteDword ("HKCU", "ControlPanel\Backlight", "ACBrightness", 10)

#Sleep for a little while
Sleep(50000)


#Turn the lights back to original
RegWriteDword ("HKCU", "ControlPanel\Backlight", "Brightness", Brightness)
RegWriteDword ("HKCU", "ControlPanel\Backlight", "ACBrightness", ACBrightness)
Attached Files
File Type: zip backlight adjustment.zip (335 Bytes, 8 views) Click for barcode!

Last edited by andason; 10-28-2007 at 01:34 AM.
Reply With Quote
  #5 (permalink)  
Old 10-28-2007, 12:51 AM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
mortscript
Attached Files
File Type: zip mortscript for ppc.zip (91.5 KB, 5 views) Click for barcode!
Reply With Quote
  #6 (permalink)  
Old 10-28-2007, 02:26 AM
sldavis's Avatar
PPCGeeks Regular
Offline
Pocket PC: Htc Sprint tocuh
Carrier: Sprint
Location: Califronia
 
Join Date: Aug 2007
Posts: 122
Reputation: 6
sldavis is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Ive been trying to do this same thing with my ppc 6700 will this work for me?
Reply With Quote
  #7 (permalink)  
Old 10-28-2007, 02:40 AM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
sure thang.. it will adjust the settings to max.. and then after 50 secs readjust back to what they were. you can adjust the sleep to lengthen or decrease the amount of time to adjust back or delete the last two writedword lines and delete the sleep line to keep it at max until you manually adjust the backlight again.
Reply With Quote
  #8 (permalink)  
Old 10-28-2007, 03:20 AM
sldavis's Avatar
PPCGeeks Regular
Offline
Pocket PC: Htc Sprint tocuh
Carrier: Sprint
Location: Califronia
 
Join Date: Aug 2007
Posts: 122
Reputation: 6
sldavis is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
sweet!!! im going to try it right now thanks!!!!
Reply With Quote
  #9 (permalink)  
Old 10-28-2007, 08:48 AM
jtrag's Avatar
Regular 'Geeker
Offline
Pocket PC: iPhone 6 Plus 128gb
Carrier: AT&T
Location: ppcgeeks.com
 
Join Date: Jul 2007
Posts: 467
Reputation: 120
jtrag is keeping up the good workjtrag is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to jtrag Send a message via MSN to jtrag Send a message via Yahoo to jtrag Send a message via Skype™ to jtrag
So even though this is a registry edit, you don't have to soft reset the device for it to take effect?
Reply With Quote
  #10 (permalink)  
Old 10-28-2007, 10:08 AM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
soft reset is not needed.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:40 PM.


Powered by vBulletin® ©2000 - 2020, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com