Clutter.InputDevice
Description: Reference for Clutter.InputDevice

### Class

# ClutterInputDevice

#### Description [src]

    final class Clutter.InputDevice : GObject.Object
    {
      /* No available fields */
    }

An input device managed by Clutter

`ClutterInputDevice` represents an input device known to Clutter.

The `ClutterInputDevice` class holds the state of the device, but its contents are usually defined by the Clutter backend in use.

#### Ancestors

- GObject

#### Instance methods

###### clutter_input_device_get_capabilities

Retrieves the capabilities of `device`.

###### clutter_input_device_get_device_mode

Retrieves the `ClutterInputMode` of `device`.

###### clutter_input_device_get_device_name

Retrieves the name of the `device`.

###### clutter_input_device_get_device_node

No description available.

###### clutter_input_device_get_device_type

Retrieves the type of `device`.

###### clutter_input_device_get_dimensions

No description available.

###### clutter_input_device_get_group_n_modes

No description available.

###### clutter_input_device_get_has_cursor

Retrieves whether `device` has a pointer that follows the device motion.

###### clutter_input_device_get_mode_switch_button_group

No description available.

###### clutter_input_device_get_n_buttons

No description available.

###### clutter_input_device_get_n_mode_groups

No description available.

###### clutter_input_device_get_n_rings

No description available.

###### clutter_input_device_get_n_strips

No description available.

###### clutter_input_device_get_pad_feature_group

No description available.

###### clutter_input_device_get_product_id

Gets the product ID of this device.

###### clutter_input_device_get_seat

Returns the seat the device belongs to.

###### clutter_input_device_get_vendor_id

Gets the vendor ID of this device.

###### clutter_input_device_is_grouped

No description available.

###### clutter_input_device_is_mode_switch_button

No description available.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Clutter.InputDevice:capabilities

The capabilities of the device.

###### Clutter.InputDevice:device-mode

No description available.

###### Clutter.InputDevice:device-node

No description available.

###### Clutter.InputDevice:device-type

The type of the device.

###### Clutter.InputDevice:has-cursor

Whether the device has an on screen cursor following its movement.

###### Clutter.InputDevice:n-buttons

No description available.

###### Clutter.InputDevice:n-mode-groups

No description available.

###### Clutter.InputDevice:n-rings

No description available.

###### Clutter.InputDevice:n-strips

No description available.

###### Clutter.InputDevice:name

The name of the device.

###### Clutter.InputDevice:product-id

Product ID of this device.2.

###### Clutter.InputDevice:seat

The `ClutterSeat` instance which owns the device.

###### Clutter.InputDevice:vendor-id

Vendor ID of this device.2.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct ClutterInputDeviceClass {
      GObjectClass parent_class;
      gboolean (* is_mode_switch_button) (
        ClutterInputDevice* device,
        guint group,
        guint button
      );
      gint (* get_group_n_modes) (
        ClutterInputDevice* device,
        gint group
      );
      gboolean (* is_grouped) (
        ClutterInputDevice* device,
        ClutterInputDevice* other_device
      );
      int (* get_pad_feature_group) (
        ClutterInputDevice* device,
        ClutterInputDevicePadFeature feature,
        int n_feature
      );
      gboolean (* get_dimensions) (
        ClutterInputDevice* device,
        unsigned int* width,
        unsigned int* height
      );

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.

`is_mode_switch_button: gboolean (* is_mode_switch_button) ( ClutterInputDevice* device, guint group, guint button )`

  No description available.

`get_group_n_modes: gint (* get_group_n_modes) ( ClutterInputDevice* device, gint group )`

  No description available.

`is_grouped: gboolean (* is_grouped) ( ClutterInputDevice* device, ClutterInputDevice* other_device )`

  No description available.

`get_pad_feature_group: int (* get_pad_feature_group) ( ClutterInputDevice* device, ClutterInputDevicePadFeature feature, int n_feature )`

  No description available.

`get_dimensions: gboolean (* get_dimensions) ( ClutterInputDevice* device, unsigned int* width, unsigned int* height )`

  No description available.

#### Virtual methods

###### Clutter.InputDeviceClass.get_dimensions

No description available.

###### Clutter.InputDeviceClass.get_group_n_modes

No description available.

###### Clutter.InputDeviceClass.get_pad_feature_group

No description available.

###### Clutter.InputDeviceClass.is_grouped

No description available.

###### Clutter.InputDeviceClass.is_mode_switch_button

No description available.