Open Controller Assignments ⌥⇧K
Opens the Controller Assignments window. This is where commands and functions can be assigned to MIDI messages.
In-depth control over Logic. 400-level programming class.
Use controller assignments Expert view in Logic Pro — Apple Support
You can use Expert view to make advanced controller assignments. These include Logic Pro parameters other than channel strip and plug-in parameters. For example, you can assign controllers to global, automation, and control surface group parameters in Expert view. You can also edit controller assignments in Expert view and can define zones and modes that let you switch between groups of controllers.