[ CCode ( cname = "clutter_get_input_device_for_id" ) ]
[ Version ( deprecated = true , deprecated_since = "1.10" , since = "0.8" ) ]
public static unowned InputDevice get_for_id (int id_)
Warning: get_for_id is deprecated since 1.10.
Retrieves the InputDevice from its id_
.
Use get_device instead.
This is a convenience wrapper for get_device and it is functionally equivalent to:
ClutterDeviceManager *manager;
ClutterInputDevice *device;
manager = clutter_device_manager_get_default ();
device = clutter_device_manager_get_device (manager, id);
id_ |
the unique id for a device |
a InputDevice, or |