rpms/hal/devel hal-add-keys-to-buttons.patch,NONE,1.1

Matthew Garrett mjg59 at fedoraproject.org
Mon Oct 20 15:43:14 UTC 2008


Author: mjg59

Update of /cvs/pkgs/rpms/hal/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11562

Added Files:
	hal-add-keys-to-buttons.patch 
Log Message:
Add patch file


hal-add-keys-to-buttons.patch:

--- NEW FILE hal-add-keys-to-buttons.patch ---
Only in hal-0.5.12: hal-add-keys-to-buttons.patch
diff -ur hal-0.5.12.clean/hald/linux/device.c hal-0.5.12/hald/linux/device.c
--- hal-0.5.12.clean/hald/linux/device.c	2008-10-13 12:15:34.000000000 +0100
+++ hal-0.5.12/hald/linux/device.c	2008-10-20 15:53:11.000000000 +0100
@@ -205,6 +205,8 @@
 		} else if (test_bit (KEY_SUSPEND, bitmask)) {
 			hal_device_property_set_string (d, "button.type", "hibernate");
 		}
+		if (input_test_keys (bitmask))
+			hal_device_add_capability (d, "input.keys");
 	} else {
 		gboolean is_keyboard = input_test_keyboard (bitmask);
 		gboolean is_keypad = input_test_keypad (bitmask);
Only in hal-0.5.12/hald/linux: device.c~
Only in hal-0.5.12/hald/linux: hal-add-keys-to-buttons.patch




More information about the scm-commits mailing list