In this lesson we add the code required to detect if we have a controller connected and if so what type it is.