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



.