currently the keyboard addon ignores key repeat events (for example when holding the brightness key down). this patch fixes that.
bugzilla is broken. it keeps saying "the file you are trying to attach is empty" here it is in all its glory: diff --git a/hald/linux/addons/addon-keyboard.c b/hald/linux/addons/addon-keyboard.c --- a/hald/linux/addons/addon-keyboard.c +++ b/hald/linux/addons/addon-keyboard.c @@ -166,7 +166,7 @@ main_loop (LibHalContext *ctx, FILE* eve while (fread (&event, sizeof(event), 1, eventfp)) { /* dbg ("event.code = %d (0x%02x)", event.code); */ - if (key_name[event.code] && event.value == 1) { + if (key_name[event.code] && event.value) { libhal_device_emit_condition (ctx, udi, "ButtonPressed", key_name[event.code], this makes it so you don't have to press press press press to change the brightness (but can just hold down).
Committed the patch
*** Bug 13873 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.