Skip to content

keyboard migration: PlayableKeyboard onto docked container

Created by: jedmund

Summary

Migrates PlayableKeyboardInputView off its direct SynthKeyboardView usage and onto the shared KeyboardContainer with the .docked size class.

  • Builds a KeyboardContainerConfig carrying highlightedPitches, correctPitch, and wrongPitch
  • Drops the local activeKeyCount state plus the manual ScrollDisabler, chrome padding, and background color - all handled by the container now
  • Leaves the prompt/sequence scoring logic in handleKeyDown/handleKeyUp untouched

Stacks on top of phase 1 (virtualsynth + modmatrix migration).

Test plan

  • Project builds for iOS simulator
  • PlayableKeyboard exercises still play notes, advance prompts, and flash correct/wrong states
  • Scroll safety still engages while a key is held

Merge request reports

Loading