Light mapping

Hey everyone! I have made my own custom mapping for my Hercules DJ control RMX 2 and it all works great except for the lights. I would like to know how I can make the lights light up at the right time. Is there a way to do that? Any help would be nice thanks! 
