OptionalcolorsOptionalfocusWhen the keyboard scrolls, the key it starts scrolled to (default: 60, middle C)
OptionalhighestThe highest key (default: 83, the B two octaves up)
OptionallabelsOptionallowestThe lowest key (default: 60, middle C)
OptionalmarkWrite "middle C" on middle C, for a player who must find it among several octaves (default: false). No key is ever coloured for it: only lit keys are coloured
OptionalmarksMarks drawn on keys; marks on the same key share it, their labels written together ("1·3")
OptionalminThe narrowest a white key may be drawn, in pixels; a keyboard that would be narrower is drawn in rows of whole octaves — the lowest at the bottom, the highest on top — and scrolls sideways only when one octave cannot fit (default: 40, a fingertip)
OptionalonA key was tapped; without this the keyboard is a picture
OptionalreadOptionalselectedKeys lit as chosen
OptionalshowWrite letter names on the white keys: all of them, only the Cs, or none (default)
OptionalsoundingKeys lit while they sound, in the sounding colour (GameColors.sounding) — over a choice, while it lasts
OptionalstatusHow the selection and marks are coloured once checked
Optionalsx
Props for
PianoKeyboard.