You have two choices:
1- In order for a game to work properly a 360 controller 'as is', it has to have controller support built-in. Very few games have that control option- they're strictly keyboard/mouse.
2- You need a wired 360 controller, OR a One controller and a USB to micro USB cable and the One controller driver. Then (for either) you need a program to convert controller movements to keystrokes/mouse movements. The only one I know of is Xpadder.
EDIT: Opps, Xpadder doesn't work with win 8/8.1 (yet)
According to MS, you can use a 360 controller, but you have to "Run" the file "joy.cpl" first. Not sure if that works with the One controller or not (after you download the One driver)- haven't tested it yet. There may be other keystoke/controller converters out there, I'd google them, but be sure they work with win 8/8.1. The reason you may need one is if the game doesn't have controller support built in, you may get unexpected/unintended reactions from your controller.