How to get an arduino to work as game controller?

Hi, i am wondering on how i can get an arduino to work similar as to a game controller for a PC game? I am wanting about 4 potentiometers and about 8 buttons. Can anyone help me on how i could do this?

Thanks in advance

How are you going to interface the arduino with the pc game? You might use the search box in the upper right of this page and search for "game controller".

google: arduino hid joystick

You need to use a Micro/Leo for it, since that's got native USB.
There's a lot of information around on it. (HID stands for Human Interface Device - includes mouse, keyboard, and other stuff too)

Thanks everyone for helping