remove midimap JSDoc

This commit is contained in:
nkymut 2025-02-09 12:19:30 +08:00
parent f802f18d68
commit b98ebc696d
2 changed files with 2 additions and 6 deletions

View file

@ -178,6 +178,7 @@ function normalize(value = 0, min = 0, max = 1, exp = 1) {
normalized = Math.min(1, Math.max(0, normalized));
return Math.pow(normalized, exp);
}
function mapCC(mapping, value) {
return Object.keys(value)
.filter((key) => !!mapping[getControlName(key)])