With the exception of the game console itself, video game accessories can be anything from the controllers, memory, power adapter (AC), audio/visual cables, and more.
Are you talking about plugging a wired controller into an Xbox or a PC? If it is into a Xbox and it doesn't work, here is a link that shows how to connect a controller into a PC so that you can test whether it is the wired controller or the Xbox that is faulty.