2012:Controls IO Pinout: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
No edit summary |
Programming (talk | contribs) No edit summary |
||
Line 201: | Line 201: | ||
| A4 | | A4 | ||
|} | |} | ||
=== Emulated Joystick Pinout Reference === | |||
{| style="width: 500px" border="1" cellspacing="1" cellpadding="1" | |||
|- | |||
| Pin # | |||
| Type | |||
| Usage | |||
| Pin Name | |||
| ADC Name | |||
| Code ID | |||
| ADC Assigned Channel # | |||
| Joy Axis Output | |||
|- | |||
| 2 | |||
| N/A | |||
| Ground | |||
| N/A | |||
| N/A | |||
| N/A | |||
| N/A | |||
| N/A | |||
|- | |||
| 3 | |||
| N/A | |||
| 3.3V | |||
| N/A | |||
| N/A | |||
| N/A | |||
| N/A | |||
| N/A | |||
|- | |||
| 7 | |||
| Analog | |||
| Turret Yaw | |||
| PTE2 | |||
| ADC1_SE6a | |||
| ADC1_SOURCE_AD6A | |||
| 1 | |||
| X Axis | |||
|- | |||
| 22 | |||
| Analog | |||
| Shooter Power | |||
| PTE0 | |||
| ADC1_SE4a | |||
| ADC1_SOURCE_AD4A | |||
| 2 | |||
| Y Axis | |||
|- | |||
| 39 | |||
| Analog | |||
| Debug Pot | |||
| PTD5 | |||
| ADC0_SE6b | |||
| ADC0_SOURCE_AD6B | |||
| 1 | |||
| Z Axis | |||
|- | |||
| 64 | |||
| Analog | |||
| Debug Pot | |||
| PTD1 | |||
| ADC0_SE5b | |||
| ADC0_SOURCE_AD5B | |||
| 2 | |||
| Rx Axis | |||
|} | |||
| |
Revision as of 16:58, 29 January 2012
Joystick Controls
Left Stick
X Axis | None |
Y Axis | Left Speed |
Throttle | |
Trigger | Turbo |
Button 2 | Slow |
Button 3 |
Wings Down |
Button 4 | WIngs Down (Broken) |
Button 5 | WIngs Up (Broken) |
Button 6 | |
Button 7 | |
Button 8 | |
Button 9 | |
Button 10 |
|
Button 11 |
Right Stick
X Axis | None |
Y Axis | Right Speed |
Throttle | |
Trigger | Turbo |
Button 2 | Slow |
Button 3 |
WIngs Down |
Button 4 | WIngs Down (Broken) |
Button 5 | Wings Up (Broken) |
Button 6 | |
Button 7 | |
Button 8 | |
Button 9 | |
Button 10 |
|
Button 11 |
Secondary Controls
Emulated Joystick
HID supports 6 axes and X digital buttons
Control | Hardware | Type | Mapped To |
Fire | Button | Digital | D1 |
Ball Collection Dir | 3-pos Toggle | Digital | D2, D3 |
Shooter Height | 3-pos Toggle | Digital | D4, D5 |
Broken Bridge Actuator | Toggle | Digital | D6 |
Broken Conveyor | Toggle | Digital | D7 |
Broken Turret Angle | Toggle | Digital | D8 |
Broken Shooter Speed | Toggle | Digital | D9 |
Broken Extra 1 | Toggle | Digital | D10 |
Broken Extra 2 | Toggle | Digital | D11 |
Broken Extra 3 | Toggle | Digital | D12 |
Broken Extra 4 | Toggle | Digital | D13 |
Extra Button 1 | Button | Digital | D14 |
Extra Button 2 | Button | Digital | D15 |
Turret Yaw Dial | Pot | Analog | A1 |
Shooter Power | Linear Pot | Analog | A2 |
Debug Dial | Pot | Analog | A3 |
Debug Dial 2 | Pot | Analog | A4 |
Emulated Joystick Pinout Reference
Pin # | Type | Usage | Pin Name | ADC Name | Code ID | ADC Assigned Channel # | Joy Axis Output |
2 | N/A | Ground | N/A | N/A | N/A | N/A | N/A |
3 | N/A | 3.3V | N/A | N/A | N/A | N/A | N/A |
7 | Analog | Turret Yaw | PTE2 | ADC1_SE6a | ADC1_SOURCE_AD6A | 1 | X Axis |
22 | Analog | Shooter Power | PTE0 | ADC1_SE4a | ADC1_SOURCE_AD4A | 2 | Y Axis |
39 | Analog | Debug Pot | PTD5 | ADC0_SE6b | ADC0_SOURCE_AD6B | 1 | Z Axis |
64 | Analog | Debug Pot | PTD1 | ADC0_SE5b | ADC0_SOURCE_AD5B | 2 | Rx Axis |