How do I disable controller use?

In my game if a controller is connected to the computer and the player hits a button on it the game will assume that the player is using the controller for input. This is a problem since my game doesn't support controllers and I want to stop it from happening. How would I do this?
 
Top