How to use masterkeybord to control vst plugins knobs

Hi to all! I’m new on this forum and i’m sorry for my english ( i’m italian).
I’m looking for a way to set a midi control on masterkeyboard (or on a piano stain pedal) to control the knob of a vst plugins.
For example: if i press a note ( a2) on a masterkeyboard maximazer plugin set to 25 and if i press another note( b2) maximazer plugin set to 60. Or if sustain pedal is up maximazer plugin set to 25 and if i hold down sustain pedal maximazer plugin set to 60 . Just to control the knobs, not to change preset or bypass plugins.
Thanks very much for your attention and kind regards,