Homemade Dual Joystick Keyboard Adapter
- 1). Insert the controller's USB cable into an available USB port on your computer.
- 2). Launch any game with controller support.
- 3). Open the controls menu in your game. Depending on the game, the location of this will vary. By default, computer games that support controllers will automatically allow you to navigate the menus with the joystick.
- 4). Click the option you wish to map. Press the button on the controller you want the specified button to be. For example, click "Action" and press the "A" button on your controller to make "A" perform the default action in the game.
- 5). Repeat Step 4 for each option you wish to assign to the controller.
Source...