class Place::Demo::Switcher
- Place::Demo::Switcher
- PlaceOS::Driver
- Reference
- Object
Included Modules
Defined in:
place/demo/switcher.crClass Method Summary
Instance Method Summary
- #inputs : Int32
- #on_update
- #outputs : Int32
- #switch(map : Hash(Input, Array(Output)), layer : SwitchLayer | Nil = nil)
-
#switch_to(input : Int32)
Switches all outputs to the requested input Special case
switch_to 0
should mute all the outputs, if supported
Class Method Detail
Instance Method Detail
def switch_to(input : Int32)
#
Description copied from module PlaceOS::Driver::Interface::InputSelection(Int32)
Switches all outputs to the requested input
Special case switch_to 0
should mute all the outputs, if supported