10/21/2010, 12:38 PM
|
#61 (permalink) | |
|
Member
![]() Join Date: Mar 2010
Posts: 297
Likes Received: 0
Thanks: 61
Thanked 49 Times in 34 Posts
|
Quote:
With webOS 2.0 so close, and the lack of customization ability for Preware patches, I think it makes more sense to wait until I can make a real app with an interface. Hopefully the patches will hold everyone over until then. I'll try to have them posted here before the end of the weekend. |
|
10/22/2010, 12:37 AM
|
#63 (permalink) |
|
Member
![]() Join Date: Mar 2010
Posts: 297
Likes Received: 0
Thanks: 61
Thanked 49 Times in 34 Posts
|
OK... so I finally got this thing to work. I apologize for the lack of focus in this post- I am very tired and it's been a little frustrating getting this to work. As usual, this patch is "as-is" and "use at your own risk." That said, I am using it without any problems.
It is set up so that you can change the following variables to control the behavior.
This means that:
To modify the patch, open it in a text editor and find lines 53-54 and 62-63. They look like this: Code:
+ var keyLow = 40; //This is the brightness limit of the keyboard when the screen brightness is LOWER than the MINIMUM screen threshhold ("screenLow").
+ var keyHigh = 0; //This is the brightness limit of the keyboard when the screen brightness is HIGHER than the MAXIMUM screen threshhold ("screenHigh").
+ var screenLow = 20; //This is the LOW screen brightness threshhold used when adjusting the keyboard brightness.
+ var screenHigh = 50; //This is the HIGH screen brightness threshhold used when adjusting the keyboard brightness.
+
As you can see, in this one, the "low" keyboard setting is 40, and the "high" setting is 0. This will cause the keyboard brightness to be inverted in relation to the screen brightness when the screen is between 20% and 50%. This is also why I renamed the patch to "Proportional Keyboard and Screen Brightness ##-##-##-##". This naming convention makes it easy to tell what values the patch applies. The format for the ##s is keyLow-keyHigh-screenLow-screenHigh. By looking at the numbers you can tell whether it is a "fixed" patch, a "directly proportional" patch, or an "inverted" patch, as well as the specific settings it uses. Now that this is done, it's time to convert it to an app so it's not so annoying to change the values. Anyone want to help? Last edited by Speebs; 10/22/2010 at 11:05 AM. |
10/22/2010, 11:04 AM
|
#64 (permalink) |
|
Member
![]() Join Date: Mar 2010
Posts: 297
Likes Received: 0
Thanks: 61
Thanked 49 Times in 34 Posts
|
I am going to submit some variations to Preware, but I wanted to get some input on what brightness settings people would like to have before I did that.
Let us know what variations of the patch you'd like to see go up in Preware (whether they are fixed, inverted, or "directly proportional" versions). For example:
The patches will eventually be removed from Preware once I am (or someone else is) able to make an app to control these settings. Last edited by Speebs; 10/22/2010 at 01:14 PM. |
10/23/2010, 06:58 PM
|
#65 (permalink) |
|
Forum Moderator
![]() ![]() Join Date: Nov 2002
Location: Silicon Valley
Posts: 2,235
Likes Received: 13
Thanks: 158
Thanked 97 Times in 90 Posts
|
I like the logic you set up with 40-00-20-50. I'll be editing it to 30-00-20-50 (30 keyboard brightness is more than enough in dark room). Thanks a lot for the patch my friend!
__________________
Palm III > Palm V > Palm Vx > (Sprint) Kyo 6035 > Handspring Treo 300 > Handspring Treo 600 Oct.'03 > Palm Treo 700P May'06 > Treo 755P Aug.'07 > Pre(-) June'09 + TouchPad July'11 LONG LIVE webOS!!!
|
03/14/2011, 09:34 AM
|
#67 (permalink) |
|
Homebrew Developer
![]() Join Date: May 2010
Location: Germany
Posts: 519
Likes Received: 22
Thanks: 44
Thanked 130 Times in 76 Posts
|
I just submitted 25% and 50% for webOS 2 to the patches portal.
I would submit the one for 80% too, but I can't find it in the patches portal... ![]() You find also all three attached. |
03/14/2011, 09:40 AM
|
#68 (permalink) | |
|
Member
![]() Join Date: Oct 2010
Posts: 66
Likes Received: 2
Thanks: 18
Thanked 21 Times in 13 Posts
|
Quote:
Thanks again for taking the lead.
__________________
_______________________________________________________________________________________ Patches Added to Preware: Fixed Keyboard Brightness 25, Fixed Keyboard Brightness 50, & Fixed Keyboard Brightness 100. @webOSdealer : A Day In My Life, #MaskAppeal Video - Enjoy |
|
04/01/2011, 06:38 PM
|
#70 (permalink) | |
|
Member
![]() Join Date: Sep 2010
Posts: 28
Likes Received: 0
Thanks: 13
Thanked 0 Times in 0 Posts
|
Quote:
|
|
06/22/2011, 02:19 PM
|
#74 (permalink) | |
|
Member
![]() Join Date: Oct 2010
Posts: 66
Likes Received: 2
Thanks: 18
Thanked 21 Times in 13 Posts
|
Quote:
Let me know - webOSdealer
__________________
_______________________________________________________________________________________ Patches Added to Preware: Fixed Keyboard Brightness 25, Fixed Keyboard Brightness 50, & Fixed Keyboard Brightness 100. @webOSdealer : A Day In My Life, #MaskAppeal Video - Enjoy |
|
07/15/2011, 07:03 PM
|
#75 (permalink) | |
|
Member
![]() Join Date: Mar 2010
Posts: 297
Likes Received: 0
Thanks: 61
Thanked 49 Times in 34 Posts
|
Quote:
I don't know if it works in 2.x but I doubt it. I can't test it, but hopefully someone with 2.x can port it. |
|
![]() |
|
| Tags |
| fixed brightness, inverted brightness, keyboard |
| Thread Tools | |
| Display Modes | |
|
|



