Created
June 23, 2023 06:11
-
-
Save dctucker/65826509fdee4a21a9d530228dd10133 to your computer and use it in GitHub Desktop.
flash storage settings struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct { | |
uint8_t | |
firmwareVersion, // 0 | |
reserved_0, // 1 | |
ramSize, // 2 | |
reserved_1[9]; // 3 .. 11 | |
struct { | |
uint8_t | |
voltsPerOctave[2], // 12 | |
transpose[2], // 14 | |
reserved_0[2], // 16 | |
cents[2], // 18 | |
reserved_1[2], // 20 | |
gateChannelMode[NUM_GATE_CHANNELS], // 22 | |
reserved_2[8 - NUM_GATE_CHANNELS], // 26 | |
minGateOffTime; // 30 | |
} cvEngine; | |
struct { | |
uint8_t | |
analogClockInputAutoStart, // 31 | |
analogInTicksPPQN, // 32 | |
analogOutTicksPPQN, // 33 | |
midiOutClockEnabled, // 34 | |
tempoMagnitudeMatchingEnabled; // 35 | |
} playbackHandler; | |
uint8_t padFlashCursor; // 36 | |
uint8_t midiThru; // 37 | |
globalMIDICommand | |
playbackRestart, // 38 | |
play, // 40 | |
record, // 42 | |
tap; // 44 | |
uint8_t reserved_0[4]; // 46 .. 49 | |
uint8_t | |
inputMonitoringMode, // 50 | |
recordQuantizeLevel, // 51 | |
midiInClockEnabled; // 52 | |
rangeSetting | |
defaultTempo, // 53 | |
defaultSwing, // 55 | |
defaultKey; // 57 | |
uint8_t | |
defaultScale, // 59 | |
shortcutsVersion, // 60 | |
audioClipRecordMargins, // 61 | |
countInEnabled; // 62 | |
globalMIDICommand | |
loop, // 63 | |
undo, // 65 | |
redo, // 67 | |
uint8_t keyboardLayout; // 69 | |
globalMIDICommand loopContinuousLayering; // 70 | |
uint8_t | |
sampleBrowserPreviewMode, // 72 | |
defaultVelocity, // 73 | |
activeColourMenu.value, // 74 | |
stoppedColourMenu.value, // 75 | |
mutedColourMenu.value, // 76 | |
soloColourMenu.value, // 77 | |
defaultMagnitude, // 78 | |
differentiatingInputsByDevice; // 79 | |
struct { | |
midiDeviceReference | |
playbackRestart, // 80 | |
play, // 84 | |
record, // 88 | |
tap, // 92 | |
loop, // 96 | |
loopContinuousLayering, // 100 | |
undo, // 104 | |
redo; // 108 | |
} deviceReferences; | |
uint8_t defaultBendRange; // 112 | |
} flash_settings_s; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment