Deputy faces accused shooter in court