Sha256: 8e85a0877385fe8697efba01b33b0972659c8a19bb66881064def5c29171e98e

Contents?: true

Size: 870 Bytes

Versions: 1

Compression:

Stored size: 870 Bytes

Contents

module Launchpad
  
  module MidiCodes
    
    module Status
      NIL           = 0x00
      OFF           = 0x80
      ON            = 0x90
      MULTI         = 0x92
      CC            = 0xB0
    end
    
    module Velocity
      FLASHING_ON   = 0x20
      FLASHING_OFF  = 0x21
      FLASHING_AUTO = 0x28
      TEST_LEDS     = 0x7C
    end
    
    module ControlButton
      UP            = 0x68
      DOWN          = 0x69
      LEFT          = 0x6A
      RIGHT         = 0x6B
      SESSION       = 0x6C
      USER1         = 0x6D
      USER2         = 0x6E
      MIXER         = 0x6F
    end
    
    module SceneButton
      SCENE1        = 0x08
      SCENE2        = 0x18
      SCENE3        = 0x28
      SCENE4        = 0x38
      SCENE5        = 0x48
      SCENE6        = 0x58
      SCENE7        = 0x68
      SCENE8        = 0x78
    end
    
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
launchpad-0.1.0 lib/launchpad/midi_codes.rb