Re: brightness control using hardware buttons



Hi Luca Calligaris,
is it possible to remap the keys using application program?
like
suppose if i press kepad button 'a' it prints letter 'a'..now i will assign a
function brightness decrease function to the button 'a'...
if i press a button 'a' it has to call brightness decres function.
is this type of application development is possible or not?
if possible how to develop?


Luca Calligaris wrote:
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

Hellow,
I want to control the display brightness by using keypad hardware buttons?
like if i press one button
brightness increases?

--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200810/1

.



Relevant Pages

  • 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)
  • 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)
  • Re: brightness control using hardware buttons
    ... 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 ...
    (microsoft.public.windowsce.platbuilder)
  • brightness keys adjustment howto
    ... I am trying to setup the brightness keys at my a laptop. ... XFilterEvent returns: False ...
    (Ubuntu)