Class: SurfaceMaster::Launchpad::Interaction

Inherits:
Interaction
  • Object
show all
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

#active, #device

Instance Method Summary collapse

Methods inherited from Interaction

#change, #changes, #close, #closed?, #no_response_to, #respond_to, #response_to, #start, #stop

Methods included from SurfaceMaster::Logging

#logger, #logger=

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