Re: brightness control using hardware buttons



This is totally HW/BSP dependent, anyway:

The keypad driver should signal the backlight manager when one of the two
keys (I suppose you will use
a key to increase the brightness, another to decrement it) is pressed, then
the backlight manager will add/dec
the brightness value. How to 'signal the backlight manager' depends on the
backlight manager itself: you can
use a message queue; you can use ExtEscape if the backlight is managed by
the display driver or you can
use DeviceIOControl if the backlight is managed by its own driver
--
Luca Calligaris
l.calligaris.nospam@xxxxxxxxxxxxxxxxxx
www.eurotech.it

"nagaraju_1024 via PocketPCJunkies.com" <u47220@uwe> ha scritto nel
messaggio news:8c553d0e94149@xxxxxx
Hellow,
I want to control the display brightness by using keypad hardware buttons?
like if i press one button
brightness increases?

--
Message posted via http://www.pocketpcjunkies.com



.



Relevant Pages

  • Re: brightness control using hardware buttons
    ... is it possible to remap the keys using application program? ... if i press a button 'a' it has to call brightness decres function. ... The keypad driver should signal the backlight manager when one of the two ...
    (microsoft.public.windowsce.platbuilder)
  • Re: brightness control using hardware buttons
    ... If you have your application running and you want to control brightness only ... match the brightness control keys, your app will call the brightness ... The keypad driver should signal the backlight manager when one of the two ...
    (microsoft.public.windowsce.platbuilder)
  • ATI fglrx driver and notebook brightness ajustment
    ... But if I used the fglrx driver, ... KDE/Gnome desktop open in front of me, screen is in full brightness. ... unplug the AC or use the fn keys to turn down the brightness. ... I know it works correctly on some other notebooks with the same ...
    (Debian-User)
  • Re: [PATCH] Map volume and brightness events on thinkpads
    ... so brightness hot keys are not to be reported by ... Otherwise if another driver touches it the driver and ... which are processed by the ACPI video module. ...
    (Linux-Kernel)