RSJoystick is joystick control for iOS.
Here is values you can get from joystick:
-(void)positionChanged:(RSJoystick *)sender {
NSLog(@"value: %f", sender.value);
NSLog(@"radius: %f", sender.radius);
NSLog(@"angle: %f", sender.angle);
NSLog(@"cartesian: %@", NSStringFromCGPoint(sender.cartesianPoint));
}
RSJoystick is licensed under the terms of the MIT license. Please see the LICENSE file for full details.