Manette.Event¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
|
|
Details¶
- class Manette.Event¶
- get_absolute()¶
- Returns:
whether the axis was retrieved
- axis:
return location for the axis
- value:
return location for the axis
- Return type:
Gets the axis of self, if any.
- get_button()¶
- Returns:
whether the button was retrieved
- button:
return location for the button
- Return type:
Gets the button of self, if any.
- get_device()¶
- Returns:
the
Manette.Device
associated with the self- Return type:
Gets the
Manette.Device
associated with the self.
- get_event_type()¶
- Returns:
the event type of self
- Return type:
Gets the event type of self.
- get_hardware_code()¶
- Returns:
the hardware code of self
- Return type:
Gets the hardware code of self.
- get_hardware_index()¶
- Returns:
the hardware index of self
- Return type:
Gets the hardware index of self.
- get_hardware_type()¶
- Returns:
the hardware type of self
- Return type:
Gets the hardware type of self.
- get_hardware_value()¶
- Returns:
the hardware value of self
- Return type:
Gets the hardware value of self.
- get_hat()¶
- Returns:
whether the hat was retrieved
- axis:
return location for the hat
- value:
return location for the hat
- Return type:
Gets the hat of self, if any.
- get_time()¶
- Returns:
the timestamp of when self was received by the input driver
- Return type:
Gets the timestamp of when self was received by the input driver that takes care of its device. Use this timestamp to ensure external factors such as synchronous disk writes don’t influence your timing computations.