![]() |
Deluge Firmware 1.3.0
Build date: 2025.04.16
|
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) |
![]() | |
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 NotesState & | getNotesState () |
Public Attributes | |
int8_t | leftColHeld = -1 |
int8_t | rightColHeld = -1 |
![]() | |
uint8_t | velocity = 64 |
Protected Member Functions | |
virtual bool | allowSidebarType (ColumnControlFunction sidebarType) |
![]() | |
bool | isKit () |
int16_t | getRootNote () |
Song root note can be in any octave, layouts get the normalized one. | |
bool | getScaleModeEnabled () |
uint8_t | getScaleNoteCount () |
NoteSet & | getScaleNotes () |
uint8_t | getDefaultVelocity () |
int32_t | getLowestClipNote () |
int32_t | getHighestClipNote () |
RGB | getNoteColour (uint8_t note) |
NoteHighlightIntensity & | getHighlightedNotes () |
NoteHighlightIntensity & | getNornsNotes () |
KeyboardState & | getState () |
Additional Inherited Members | |
![]() | |
NotesState | currentNotesState |
|
overridevirtual |
Reimplemented from deluge::gui::ui::keyboard::KeyboardLayout.
|
overridevirtual |
Handle input pad presses.
Implements deluge::gui::ui::keyboard::KeyboardLayout.
Reimplemented in deluge::gui::ui::keyboard::layout::KeyboardLayoutChord, deluge::gui::ui::keyboard::layout::KeyboardLayoutChordLibrary, deluge::gui::ui::keyboard::layout::KeyboardLayoutInKey, deluge::gui::ui::keyboard::layout::KeyboardLayoutIsomorphic, and deluge::gui::ui::keyboard::layout::KeyboardLayoutPiano.
|
overridevirtual |
Will be called with offset 0 to recalculate bounds on clip changes.
Implements deluge::gui::ui::keyboard::KeyboardLayout.
Reimplemented in deluge::gui::ui::keyboard::layout::KeyboardLayoutChord, deluge::gui::ui::keyboard::layout::KeyboardLayoutChordLibrary, deluge::gui::ui::keyboard::layout::KeyboardLayoutInKey, deluge::gui::ui::keyboard::layout::KeyboardLayoutIsomorphic, and deluge::gui::ui::keyboard::layout::KeyboardLayoutPiano.
|
overridevirtual |
Shift state not supplied since that function is already taken.
Implements deluge::gui::ui::keyboard::KeyboardLayout.
Reimplemented in deluge::gui::ui::keyboard::layout::KeyboardLayoutChord, deluge::gui::ui::keyboard::layout::KeyboardLayoutChordLibrary, deluge::gui::ui::keyboard::layout::KeyboardLayoutInKey, deluge::gui::ui::keyboard::layout::KeyboardLayoutIsomorphic, and deluge::gui::ui::keyboard::layout::KeyboardLayoutPiano.
|
overridevirtual |
Reimplemented from deluge::gui::ui::keyboard::KeyboardLayout.