Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard Class Reference
Inheritance diagram for deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard:
Collaboration diagram for deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard:

Public Member Functions

void enableNote (uint8_t note, uint8_t velocity)
 
void evaluatePads (PressedPad presses[kMaxNumKeyboardPadPresses]) override
 Handle input pad presses.
 
void handleVerticalEncoder (int32_t offset) override
 Shift state not supplied since that function is already taken.
 
void handleHorizontalEncoder (int32_t offset, bool shiftEnabled, PressedPad presses[kMaxNumKeyboardPadPresses], bool encoderPressed=false) override
 Will be called with offset 0 to recalculate bounds on clip changes.
 
bool verticalEncoderHandledByColumns (int32_t offset)
 
bool horizontalEncoderHandledByColumns (int32_t offset, bool shiftEnabled)
 
ColumnControlFunction nextControlFunction (ColumnControlFunction cur, ColumnControlFunction skip)
 
ColumnControlFunction prevControlFunction (ColumnControlFunction cur, ColumnControlFunction skip)
 
ColumnControlFunction stepControlFunction (int32_t offset, ColumnControlFunction cur, ColumnControlFunction skip)
 
void renderSidebarPads (RGB image[][kDisplayWidth+kSideBarWidth]) override
 
void checkNewInstrument (Instrument *newInstrument) override
 
void renderColumnBeatRepeat (RGB image[][kDisplayWidth+kSideBarWidth], int32_t column)
 
- Public Member Functions inherited from deluge::gui::ui::keyboard::KeyboardLayout
virtual void precalculate ()=0
 This function is called on visibility change and if colour offset changes.
 
virtual void renderPads (RGB image[][kDisplayWidth+kSideBarWidth])
 Handle output.
 
virtual l10n::String name ()=0
 
virtual bool supportsInstrument ()
 This currently includes Synth, MIDI and CV.
 
virtual bool supportsKit ()
 
virtual RequiredScaleMode requiredScaleMode ()
 
virtual NotesStategetNotesState ()
 

Public Attributes

int8_t leftColHeld = -1
 
int8_t rightColHeld = -1
 
- Public Attributes inherited from deluge::gui::ui::keyboard::KeyboardLayout
uint8_t velocity = 64
 

Protected Member Functions

virtual bool allowSidebarType (ColumnControlFunction sidebarType)
 
- Protected Member Functions inherited from deluge::gui::ui::keyboard::KeyboardLayout
bool isKit ()
 
int16_t getRootNote ()
 Song root note can be in any octave, layouts get the normalized one.
 
bool getScaleModeEnabled ()
 
uint8_t getScaleNoteCount ()
 
NoteSetgetScaleNotes ()
 
uint8_t getDefaultVelocity ()
 
int32_t getLowestClipNote ()
 
int32_t getHighestClipNote ()
 
RGB getNoteColour (uint8_t note)
 
NoteHighlightIntensity & getHighlightedNotes ()
 
NoteHighlightIntensity & getNornsNotes ()
 
KeyboardStategetState ()
 

Additional Inherited Members

- Protected Attributes inherited from deluge::gui::ui::keyboard::KeyboardLayout
NotesState currentNotesState
 

Member Function Documentation

◆ checkNewInstrument()

void deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard::checkNewInstrument ( Instrument * newInstrument)
overridevirtual

◆ evaluatePads()

◆ handleHorizontalEncoder()

void deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard::handleHorizontalEncoder ( int32_t offset,
bool shiftEnabled,
PressedPad presses[kMaxNumKeyboardPadPresses],
bool encoderPressed = false )
overridevirtual

◆ handleVerticalEncoder()

void deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard::handleVerticalEncoder ( int32_t offset)
overridevirtual

◆ renderSidebarPads()

void deluge::gui::ui::keyboard::layout::ColumnControlsKeyboard::renderSidebarPads ( RGB image[][kDisplayWidth+kSideBarWidth])
overridevirtual

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