libretro.drivers.power.driver¶
Protocol definition for the power driver interface.
See also
libretro.api.powerProvides the device power structure that
PowerDriverimplementations report.
Classes
Protocol for drivers that report the device's power state to the core. |
- class PowerDriver[source]¶
Bases:
ProtocolProtocol for drivers that report the device’s power state to the core.
Cores query power state via
RETRO_ENVIRONMENT_GET_DEVICE_POWER.See also
retro_device_powerThe C struct whose value this driver returns.
- abstract property device_power¶
The current device power state reported to the core.
- __init__(*args, **kwargs)¶
- classmethod __new__(*args, **kwargs)¶