The Iowa State Patrol says a sheriff's deputy and a homeowner were shot in a standoff southeast of the unincorporated community of Brooks in Adams County.