I don't know if there's a specific way to do it with the CS Labs controller, but you could just use a macropump to monitor the inputs, and call the appropriate macros.