### Struct

# Clutter KeyEvent

#### Description [src]

    struct ClutterKeyEvent {
      ClutterEventType type;
      guint32 time;
      ClutterEventFlags flags;
      ClutterStage* stage;
      ClutterModifierType modifier_state;
      guint keyval;
      guint16 hardware_keycode;
      gunichar unicode_value;
      uint32_t evdev_code;
      ClutterInputDevice* device;
    }

Key event.

###### Structure members

`type`

  Event type.

`time`

  Event time.

`flags`

  Event flags.

`stage`

  Event source stage.

`modifier_state`

  Key modifiers.

`keyval`

  Raw key value.

`hardware_keycode`

  Raw hardware key value.

`unicode_value`

  Unicode representation.

`evdev_code`
  No description available.
`device`

  The device that originated the event. If you want the physical device the event originated from, use `clutter_event_get_source_device()`