Simple Switch

Alrighty folks, I've been thinking about a little project for a while now, and I was curious about the feasibility of it. I want to build a small box with a working gear handle, and maybe a few buttons and toggle switches. I have the mechanics mostly figured out, but what I don't really know much of anything about is wiring it so it is recognized by my computer. I am just curious about how difficult it would be to wire just a switch or a dial, and have that be recognized as a joystick or something, so I could use it in FS, and other sims as well.
Thanks in advance.
Thanks in advance.
