When you run the game for the first time, The Legend of Zelda: Ocarina of Time 2D will detect if you have a joystick connected to the computer and let you configure it if you do (but it's also possible to play using a keyboard).
The Legend of Zelda: Ocarina of Time 2D (OoT2D) is a revision of the Nintendo 64 classic, passed through a Super Nintendo filter, which means: an overhead perspective, pixelated graphics in two dimensions, etc.