Map Logic Pro's Virtual drummer XY pad with a controller

Hi everyone, I am currently working on a slider controller in MAX MSP, which is manipulated by an EEG headset that takes my brain activity readings. This forms part of my research project.


In a nutshell: I would like to map Logic Pro's Virtual Drummer XY pad with the slider controller but there is no way of assigning command keys to this, nor is there any other way of controlling it for that matter, except by mouse.


Does anyone know if there is a way around this?


Many thanks