Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::Maschine2Mikro Class Reference

#include <m2_dev_mikro.h>

Inheritance diagram for ArdourSurface::Maschine2Mikro:
[legend]

Classes

struct  machine_mk2_input
 

Public Member Functions

 Maschine2Mikro ()
 
void clear (bool splash=false)
 
void read (hid_device *, M2Contols *)
 
void write (hid_device *, M2Contols *)
 
Cairo::RefPtr< Cairo::ImageSurface > surface ()
 
- Public Member Functions inherited from ArdourSurface::M2Device
 M2Device ()
 
virtual ~M2Device ()
 

Private Member Functions

void assign_controls (M2Contols *) const
 
void set_lights (M2Contols *, uint8_t *) const
 
void set_pads (M2Contols *, uint8_t *) const
 

Private Attributes

struct ArdourSurface::Maschine2Mikro::machine_mk2_input ctrl_in
 
uint16_t pad [16]
 
Cairo::RefPtr< Cairo::ImageSurface > _surface
 
uint8_t _lights [79]
 
uint8_t _img [4][265]
 

Additional Inherited Members

- Public Attributes inherited from ArdourSurface::M2Device
PBD::Signal< bool()> vblank
 
- Protected Member Functions inherited from ArdourSurface::M2Device
void bump_blink ()
 
- Protected Attributes inherited from ArdourSurface::M2Device
uint32_t _splashcnt
 
unsigned int _blink_counter
 
float _blink_shade
 
- Static Protected Attributes inherited from ArdourSurface::M2Device
static const uint32_t _splashtime = 25 * 3
 

Detailed Description

Definition at line 29 of file m2_dev_mikro.h.

Constructor & Destructor Documentation

◆ Maschine2Mikro()

ArdourSurface::Maschine2Mikro::Maschine2Mikro ( )

Member Function Documentation

◆ assign_controls()

void ArdourSurface::Maschine2Mikro::assign_controls ( M2Contols ) const
private

◆ clear()

void ArdourSurface::Maschine2Mikro::clear ( bool  splash = false)
virtual

Reimplemented from ArdourSurface::M2Device.

◆ read()

void ArdourSurface::Maschine2Mikro::read ( hid_device *  ,
M2Contols  
)
virtual

◆ set_lights()

void ArdourSurface::Maschine2Mikro::set_lights ( M2Contols ,
uint8_t *   
) const
private

◆ set_pads()

void ArdourSurface::Maschine2Mikro::set_pads ( M2Contols ,
uint8_t *   
) const
private

◆ surface()

Cairo::RefPtr<Cairo::ImageSurface> ArdourSurface::Maschine2Mikro::surface ( )
inlinevirtual

Implements ArdourSurface::M2Device.

Definition at line 36 of file m2_dev_mikro.h.

◆ write()

void ArdourSurface::Maschine2Mikro::write ( hid_device *  ,
M2Contols  
)
virtual

Member Data Documentation

◆ _img

uint8_t ArdourSurface::Maschine2Mikro::_img[4][265]
private

Definition at line 95 of file m2_dev_mikro.h.

◆ _lights

uint8_t ArdourSurface::Maschine2Mikro::_lights[79]
private

Definition at line 94 of file m2_dev_mikro.h.

◆ _surface

Cairo::RefPtr<Cairo::ImageSurface> ArdourSurface::Maschine2Mikro::_surface
private

Definition at line 86 of file m2_dev_mikro.h.

◆ ctrl_in

struct ArdourSurface::Maschine2Mikro::machine_mk2_input ArdourSurface::Maschine2Mikro::ctrl_in
private

◆ pad

uint16_t ArdourSurface::Maschine2Mikro::pad[16]
private

Definition at line 84 of file m2_dev_mikro.h.


The documentation for this class was generated from the following file: