Is possible to map my launchpad in a way that can be used as an XY controller in live?

I would assume it be possible to map each button to a set increment on each, but I have no idea. Obviously it would not be a smooth fade, but it would do the job.