|
Oolite
|
#include <OOJoystickProfile.h>
Instance Methods | |
| (id) | - init |
| (id) | - copyWithZone: |
| (double) | - rawValue: |
| (double) | - value: |
| (double) | - deadzone |
| (void) | - setDeadzone: |
Private Attributes | |
| double | deadzone |
Definition at line 43 of file OOJoystickProfile.h.
| - (id) copyWithZone: | (NSZone*) | zone |
Reimplemented in OOJoystickSplineAxisProfile, and OOJoystickStandardAxisProfile.
Definition at line 92 of file OOJoystickProfile.m.
| - (id) init |
Reimplemented in OOJoystickSplineAxisProfile, and OOJoystickStandardAxisProfile.
Definition at line 84 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 98 of file OOJoystickProfile.m.
References x.
Referenced by value:.
| - (void) setDeadzone: | (double) | newValue |
Definition at line 116 of file OOJoystickProfile.m.
References deadzone, OOClamp_0_max_d(), and STICK_MAX_DEADZONE.
Referenced by StickProfileScreen(StickProfileInternal)::decreaseDeadzone, StickProfileScreen(StickProfileInternal)::increaseDeadzone, and OOJoystickManager::loadProfileForAxis:.
| - (double) value: | (double) | x |
Definition at line 103 of file OOJoystickProfile.m.
References deadzone, rawValue:, and x.
Referenced by OOJoystickManager::getAxisState:.
|
private |
Definition at line 111 of file OOJoystickProfile.m.
Referenced by deadzone, StickProfileScreen(StickProfileInternal)::decreaseDeadzone, StickProfileScreen(StickProfileInternal)::increaseDeadzone, init, StickProfileScreen(StickProfileInternal)::nextProfileType, StickProfileScreen(StickProfileInternal)::previousProfileType, OOJoystickManager::saveProfileForAxis:, setDeadzone:, StickProfileScreen(StickProfileInternal)::showScreen, and value:.