hal ChangeLog,1.788,1.789
David Zeuthen
david at freedesktop.org
Wed Feb 8 05:54:46 PST 2006
Update of /cvs/hal/hal
In directory gabe:/tmp/cvs-serv20696
Modified Files:
ChangeLog
Log Message:
2006-02-08 David Zeuthen <davidz at redhat.com>
Patch from Matthew Garrett <mjg59 at srcf.ucam.org>.
Two patches attached: 1) Changes the ACPI addon to report the type
of button pressed as well as the fact that a button has been
pressed. 2) Adds a keyboard addon. The included fdi file will bind
it to anything that has type input.keyboard. It adds the
capability "button" to the keyboard devices, and on any keypress
checks the key against a table. If the key is found there, a
ButtonPressed event is generated with the name of the key in the
details field (one exception - KEY_SUSPEND is given the name
"hibernate").
There's a couple of extra features that could be added (export a
list of the available keys, for instance - not very helpful on
PS/2, but useful on USB), but could these be applied as is for
now?
* hald/linux2/probing/shared.h: Move drop_privileges here so other
code can use it too.
* hald/linux2/addons/Makefile.am: Add build rules for
hald-addon-keybaord
* hald/linux2/addons/addon-acpi.c: Also send button.type as part
of the event
* hald/linux2/addons/addon-keyboard.c: New file. Also set
button.type to "" and button.has_state to FALSE
Index: ChangeLog
===================================================================
RCS file: /cvs/hal/hal/ChangeLog,v
retrieving revision 1.788
retrieving revision 1.789
diff -u -d -r1.788 -r1.789
--- ChangeLog 8 Feb 2006 01:34:12 -0000 1.788
+++ ChangeLog 8 Feb 2006 13:54:44 -0000 1.789
@@ -1,3 +1,34 @@
+2006-02-08 David Zeuthen <davidz at redhat.com>
+
+ Patch from Matthew Garrett <mjg59 at srcf.ucam.org>.
+
+ Two patches attached: 1) Changes the ACPI addon to report the type
+ of button pressed as well as the fact that a button has been
+ pressed. 2) Adds a keyboard addon. The included fdi file will bind
+ it to anything that has type input.keyboard. It adds the
+ capability "button" to the keyboard devices, and on any keypress
+ checks the key against a table. If the key is found there, a
+ ButtonPressed event is generated with the name of the key in the
+ details field (one exception - KEY_SUSPEND is given the name
+ "hibernate").
+
+ There's a couple of extra features that could be added (export a
+ list of the available keys, for instance - not very helpful on
+ PS/2, but useful on USB), but could these be applied as is for
+ now?
+
+ * hald/linux2/probing/shared.h: Move drop_privileges here so other
+ code can use it too.
+
+ * hald/linux2/addons/Makefile.am: Add build rules for
+ hald-addon-keybaord
+
+ * hald/linux2/addons/addon-acpi.c: Also send button.type as part
+ of the event
+
+ * hald/linux2/addons/addon-keyboard.c: New file. Also set
+ button.type to "" and button.has_state to FALSE
+
2006-02-07 David Zeuthen <davidz at redhat.com>
* hald/linux2/probing/probe-input.c (main): The attached patch
More information about the hal-commit
mailing list