Ok, here is everything I used to connect the potmeters and switches.
The potmeters I used where 100Kohm linear, and the switches just push/release buttons.
If you would like the whole story.
http://www.epanorama.net/documents/joystick/pc_circuits.html (http://www.epanorama.net/documents/joystick/pc_circuits.html)
Or just the vital information.
I used the data in the picture below to connect the cables to the 15 pins sub-D connector.
I allso found a great product for computer interfacing wich has a capacity of 8 potmeters and 32 switches!
I havent tried it but if I start another project, I will be using this.
http://www.lbodnar.dsl.pipex.com/joystick/ (http://www.lbodnar.dsl.pipex.com/joystick/)