Class: SurfaceMaster::Launchpad::Interaction
- Inherits:
-
Interaction
- Object
- Interaction
- SurfaceMaster::Launchpad::Interaction
- Defined in:
- lib/surface_master/launchpad/interaction.rb
Overview
Higher-level interface to Novation Launchpad Mark 2, providing an input handling loop and event-hooks for input events.
Instance Attribute Summary
Attributes inherited from Interaction
Instance Method Summary collapse
-
#initialize(opts = nil) ⇒ Interaction
constructor
A new instance of Interaction.
Methods inherited from Interaction
#change, #changes, #close, #closed?, #no_response_to, #respond_to, #response_to, #start, #stop
Methods included from SurfaceMaster::Logging
Constructor Details
#initialize(opts = nil) ⇒ Interaction
Returns a new instance of Interaction.
6 7 8 9 |
# File 'lib/surface_master/launchpad/interaction.rb', line 6 def initialize(opts = nil) @device_class = Device super(opts) end |