Enums¶
Details¶
- class Manette.DeviceType(value)¶
Bases:
GObject.GEnum
Describes available types of a [class`Device`].
More values may be added to this enumeration over time.
New in version 0.2.10.
- GENERIC = 0¶
Generic gamepads
- STEAM_DECK = 1¶
Steam Deck
- class Manette.EventType(value)¶
Bases:
GObject.GEnum
Specifies the type of the event.
- EVENT_NOTHING = -1¶
a special code to indicate a null event
- EVENT_BUTTON_PRESS = 0¶
a button has been pressed
- EVENT_BUTTON_RELEASE = 1¶
a button has been released
- EVENT_ABSOLUTE = 2¶
an absolute axis has been moved
- EVENT_HAT = 3¶
a hat axis has been moved