Review Request: support brightness keys in the battery applet.

Will Stephenson wstephenson at kde.org
Mon Jan 19 18:58:25 CET 2009



> On 2009-01-19 08:24:39, Sebastian Kügler wrote:
> > Thanks for having a look into it. (I've not tested it yet.)

Don't ship it!   
"
dannyK says your brightness keys patch will be problematic with most current 
machines, as they do brightness control in hardware. apparently there's a hal 
property you could check to find that out;
otherwise you are potentially causing a double increment on every keypress.

The hal property is to find out if the brightness keys control brightness in 
hardware already.  only then do you want to start doing that in software.
"


- Will


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.vidsolbach.de/r/335/#review328
-----------------------------------------------------------


On 2009-01-18 12:22:12, Matt Rogers wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.vidsolbach.de/r/335/
> -----------------------------------------------------------
> 
> (Updated 2009-01-18 12:22:12)
> 
> 
> Review request for Plasma.
> 
> 
> Summary
> -------
> 
> This patch adds support for laptop brightness keys on X11. Qt doesn't support these keys yet, so this has to be implemented in a platform specific way and I have provided support for them on X11. 
> 
> There is no OSD or other indication that the keys work other than the change in brightness.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdebase/workspace/plasma/applets/battery/CMakeLists.txt
>   /trunk/KDE/kdebase/workspace/plasma/applets/battery/battery.h
>   /trunk/KDE/kdebase/workspace/plasma/applets/battery/battery.cpp
> 
> Diff: http://reviewboard.vidsolbach.de/r/335/diff
> 
> 
> Testing
> -------
> 
> compiled, installed, and verified the keys do work.
> 
> 
> Thanks,
> 
> Matt
> 
>



More information about the Plasma-devel mailing list