Created
August 27, 2011 21:37
-
-
Save tomgco/1175890 to your computer and use it in GitHub Desktop.
Xbox Controller Methods in My ArduinoCopter Project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) RCTriggerRT:(DDHidJoystick *)joystick valueChanged:(NSNumber *)value { | |
// To use for Throttle; | |
} | |
- (void) RCRightJoystickX:(DDHidJoystick *)joystick valueChanged:(NSNumber *)value { | |
// Trim | |
} | |
- (void) RCRightJoystickY:(DDHidJoystick *)joystick valueChanged:(NSNumber *)value { | |
// Pitch | |
} | |
- (void) RCButtonLB:(DDHidJoystick *)joystick state:(BOOL)pressed { | |
// Trim Left | |
} | |
- (void) RCButtonRB:(DDHidJoystick *)joystick state:(BOOL)pressed { | |
// Trim Right | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment