User Tools

Site Tools


controls:pc_game_port

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

controls:pc_game_port [2005/12/04 18:05] – created 67.97.154.146controls:pc_game_port [2019/08/27 20:45] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +=== The Pinout ===
 +
 +{{http://www.gamesx.com/grafx/conn_dsub15f.gif}}
 +
 +^Pin^Function^
 +|1|+5VDC Source|
 +|2|/A (stick 1 button 1)|
 +|3|1X (stick 1 horizontal)|
 +|4|GND|
 +|5|GND|
 +|6|1Y (stick 1 vertical)|
 +|7|/B (stick 1 button 2)|
 +|8|+5VDC Source|
 +|9|+5VDC Source|
 +|10|/D (stick 2 button 2)|
 +|11|2X (stick 2 horizontal)|
 +|12|GND|
 +|13|2Y (stick 2 vertical)|
 +|14|/C (stick 2 button 1)|
 +|15|+5VDC Source|
 +
 +Every GND is the same.
 +Every +5V is the same.
 +
 +=== Analog Direction Inputs ====
 +
 +Potentiometer inputs are 0-100kohm, linear. Directional inputs are read by a RC delay circuit, i.e. the time it takes a capacitor to recharge after being discharged determines the potentiometer positions.
 +
 +    * North=0 ohm between 5V and pin 6 (or 13)
 +    * South=500 ohms between 5V and pin 6 (or 13)
 +    * West=0 ohm between 5V and pin 3 (or 11)
 +    * East=500 ohms between 5V and pin 6 (or 13)
 +
 +=== Buttons ===
 +
 +Button inputs have their pins held high by the computer, and are pulled low by the joystick when activated by the user. 
  
controls/pc_game_port.txt · Last modified: 2019/08/27 20:45 by 127.0.0.1