mpf.platforms.interfaces.switch_platform_interface
¶
Interface for switches.
-
class
mpf.platforms.interfaces.switch_platform_interface.
SwitchPlatformInterface
(config, number)¶ Interface for switches in hardware platforms.
SwitchPlatformInterface is an abstract base class that should be overridden for all switches interface classes on supported platforms. This class ensures the proper required methods are implemented to support switch operations in MPF.
Initialise default attributes for switches.