Manette.Event
Description: Reference for Manette.Event

### Struct

# ManetteEvent

#### Description [src]

    union ManetteEvent {
      /* No available fields */
    }

An event emitted by a `ManetteDevice`.

#### Instance methods

###### manette_event_copy

Creates a copy of `self`.

###### manette_event_free

Frees `self`.

###### manette_event_get_absolute

Gets the axis of `self`, if any.

###### manette_event_get_button

Gets the button of `self`, if any.

###### manette_event_get_device

Gets the `ManetteDevice` associated with the `self`.

###### manette_event_get_event_type

Gets the event type of `self`.

###### manette_event_get_hardware_code

Gets the hardware code of `self`.

###### manette_event_get_hardware_index

Gets the hardware index of `self`.

###### manette_event_get_hardware_type

Gets the hardware type of `self`.

###### manette_event_get_hardware_value

Gets the hardware value of `self`.

###### manette_event_get_hat

Gets the hat of `self`, if any.

###### manette_event_get_time

Gets the timestamp of when `self` was received by the input driver that takes care of its device.