194
199
HAL_DEBUG (("button event"));
196
201
/* TODO: only rescan if button got state */
198
202
if (libhal_device_rescan (ctx, udi, &error)) {
200
203
type = libhal_device_get_property_string(ctx, udi,
204
211
libhal_device_emit_condition (ctx, udi, "ButtonPressed",