2012:Controls IO Pinout: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Programming (talk | contribs) No edit summary |
Programming (talk | contribs) No edit summary |
||
Line 213: | Line 213: | ||
| Joy Axis Output | | Joy Axis Output | ||
|- | |- | ||
| 2 | | Pin 2 | ||
| N/A | | N/A | ||
| Ground | | Ground | ||
Line 222: | Line 222: | ||
| N/A | | N/A | ||
|- | |- | ||
| 3 | | Pin 3 | ||
| N/A | | N/A | ||
| 3.3V | | 3.3V | ||
Line 240: | Line 240: | ||
| X Axis | | X Axis | ||
|- | |- | ||
| 22 | | Pin 22 | ||
| Analog | | Analog | ||
| Shooter Power | | Shooter Power | ||
Line 249: | Line 249: | ||
| Y Axis | | Y Axis | ||
|- | |- | ||
| 39 | | Pin 39 | ||
| Analog | | Analog | ||
| Debug Pot | | Debug Pot | ||
Line 258: | Line 258: | ||
| Z Axis | | Z Axis | ||
|- | |- | ||
| 64 | | Pin 64 | ||
| Analog | | Analog | ||
| Debug Pot | | Debug Pot |
Revision as of 16:59, 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 |
Pin 2 | N/A | Ground | N/A | N/A | N/A | N/A | N/A |
Pin 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 |
Pin 22 | Analog | Shooter Power | PTE0 | ADC1_SE4a | ADC1_SOURCE_AD4A | 2 | Y Axis |
Pin 39 | Analog | Debug Pot | PTD5 | ADC0_SE6b | ADC0_SOURCE_AD6B | 1 | Z Axis |
Pin 64 | Analog | Debug Pot | PTD1 | ADC0_SE5b | ADC0_SOURCE_AD5B | 2 | Rx Axis |