diff --git a/src/mapping/control.ts b/src/mapping/control.ts index b4af19a..b09ad2d 100644 --- a/src/mapping/control.ts +++ b/src/mapping/control.ts @@ -165,15 +165,6 @@ export function bindControlSection( ); } - // Function buttons - for (const button of buttons.function) { - page.makeCommandBinding( - button.mSurfaceValue, - "MIDI Remote", - "Open MIDI Remote Mapping Assistant", - ); - } - // Edit page .makeCommandBinding(buttons.edit.mSurfaceValue, "Edit", "Edit Channel Settings") @@ -421,19 +412,3 @@ export function bindControlSection( }; } } - -export function bindFootControl( - page: MR_FactoryMappingPage, - controlSectionElements: ControlSectionSurfaceElements, -) { - for (const footSwitch of [ - controlSectionElements.footSwitch1, - controlSectionElements.footSwitch2, - ]) { - page.makeCommandBinding( - footSwitch.mSurfaceValue, - "MIDI Remote", - "Open MIDI Remote Mapping Assistant", - ); - } -} diff --git a/src/mapping/index.ts b/src/mapping/index.ts index 28ad53b..7d78cda 100755 --- a/src/mapping/index.ts +++ b/src/mapping/index.ts @@ -1,4 +1,4 @@ -import { bindControlSection, bindFootControl, bindMouseValueControl } from "./control"; +import { bindControlSection, bindMouseValueControl } from "./control"; import { bindEncoders } from "./encoders"; import { config } from "/config"; import { Device, MainDevice } from "/devices"; @@ -81,10 +81,8 @@ export function makeHostMapping( .makeMixerBankChannel().mValue.mVolume, ); - // Display buttons, 1-8, F1-F8, Modify, Automation, Utility, Transport, Navigation, Jog wheel + // Display buttons, 1-8, Modify, Automation, Utility, Transport, Navigation, Jog wheel bindControlSection(page, device, mixerBankZone, globalState); - - bindFootControl(page, controlSectionElements); } }