Staircase trial feedback

I am trying to create a feedback routine for a routine that is embedded within a staircase loop. I am using dots as visual stimuli and the keyboard as responses. I currently have it set to where left is 0 and right is 180. I would like feedback depending on the direction of the dots and the users response.