evdev: Merge clutter-event-evdev.[ch] into the device manager

The device manager now fully owns the GSources corresponding to the
devices it manages. This will allow not only to remove the source when
udev signals a device removal but also handle read() errors gracefully
by removing the faulty device from the manager.
This commit is contained in:
Damien Lespiau
2010-11-09 12:50:23 -05:00
parent afee3b009c
commit afd279dd76
6 changed files with 320 additions and 407 deletions

View File

@ -53,6 +53,9 @@ struct _ClutterDeviceManagerEvdevClass
GType clutter_device_manager_evdev_get_type (void) G_GNUC_CONST;
void _clutter_events_evdev_init (ClutterBackend *backend);
void _clutter_events_evdev_uninit (ClutterBackend *backend);
G_END_DECLS
#endif /* __CLUTTER_DEVICE_MANAGER_EVDEV_H__ */