![]() |
Oolite 1.91.0.7659-250410-0031890
|
#include <OOJoystickProfile.h>
Instance Methods | |
(id) | - init |
(id) | - copyWithZone: |
(double) | - rawValue: |
(double) | - value: |
(double) | - deadzone |
(void) | - setDeadzone: |
Private Attributes | |
double | deadzone |
Definition at line 39 of file OOJoystickProfile.h.
- (id) copyWithZone: | (NSZone *) | zone |
Reimplemented in OOJoystickSplineAxisProfile, and OOJoystickStandardAxisProfile.
Definition at line 96 of file OOJoystickProfile.m.
- (double) deadzone |
- (id) init |
Reimplemented in OOJoystickSplineAxisProfile, and OOJoystickStandardAxisProfile.
Definition at line 87 of file OOJoystickProfile.m.
References deadzone, init, and STICK_DEADZONE.
Referenced by init.
- (double) rawValue: | (double) | x |
Reimplemented in OOJoystickSplineAxisProfile, and OOJoystickStandardAxisProfile.
Definition at line 103 of file OOJoystickProfile.m.
References x.
Referenced by value:.
- (void) setDeadzone: | (double) | newValue |
Definition at line 122 of file OOJoystickProfile.m.
References deadzone, and STICK_MAX_DEADZONE.
Referenced by StickProfileScreen(StickProfileInternal)::decreaseDeadzone, StickProfileScreen(StickProfileInternal)::increaseDeadzone, and OOJoystickManager::loadProfileForAxis:.
- (double) value: | (double) | x |
Definition at line 108 of file OOJoystickProfile.m.
References deadzone, rawValue:, and x.
Referenced by OOJoystickManager::getAxisState:.
|
private |
Definition at line 117 of file OOJoystickProfile.m.
Referenced by StickProfileScreen(StickProfileInternal)::decreaseDeadzone, StickProfileScreen(StickProfileInternal)::increaseDeadzone, init, StickProfileScreen(StickProfileInternal)::nextProfileType, StickProfileScreen(StickProfileInternal)::previousProfileType, OOJoystickManager::saveProfileForAxis:, setDeadzone:, StickProfileScreen(StickProfileInternal)::showScreen, and value:.