Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > main-release-src > by-pkgid > 2d07ff86f250992c43c2fe8a51e11330 > files > 7

hal-0.5.12-0.rc1.20090403.1mdv2009.1.src.rpm

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