Submit the XY position and the color, then it will fire a key when it matches (or the inverse).