ADC Home > Reference Library > Reference > Hardware & Drivers > Human Interface Device & Force Feedback > Force Feedback Framework Reference

 


ForceFeedbackConstants.h

Include Path:
<ForceFeedback/ForceFeedbackConstants.h>

Path:
/System/Library/Frameworks/ForceFeedback.framework/Versions/A/Headers/ForceFeedbackConstants.h

Overview

This header defines the constants used in the public interfaces to the Force Feedback implementation in Mac OS X. These constants include the Effect type UUIDs, type definitions used in the API, force feedback constants, and error values used by the API.



Typedefs


FFCapabilitiesEffectSubType


See Also:
FFCapabilitiesEffectSubType
typedef UInt32 FFCapabilitiesEffectSubType;  
Discussion

Flags used to specify the subtype of an effect.


FFCapabilitiesEffectType


See Also:
FFCapabilitiesEffectType
typedef UInt32 FFCapabilitiesEffectType;  
Discussion

Types used in the emulatedEffects or supportedEffects members of the FFCAPABILITIES structure. Used to describe whether the particular effect type is supported or emulated by the device.


FFCommandFlag


See Also:
FFCommandFlag
typedef UInt32 FFCommandFlag;  
Discussion

Command flags for FFDeviceSendForceFeedbackCommand.


FFCooperativeLevelFlag


See Also:
FFCooperativeLevelFlag
typedef UInt32 FFCooperativeLevelFlag;  
Discussion

flags for FFDeviceSetCooperativeLevel.


FFCoordinateSystemFlag


See Also:
FFCoordinateSystemFlag enum
typedef UInt32 FFCoordinateSystemFlag;  
Discussion

Different coordinates used by the Force Feedback framework.


FFEffectStartFlag


See Also:
FFEffectStartFlag
typedef UInt32 FFEffectStartFlag;  
Discussion

Effect Parameter flags for use in calls to FFEffectStart.


FFEffectStatusFlag


See Also:
FFEffectStatusFlag
typedef UInt32 FFEffectStatusFlag;  
Discussion

Effect Parameter flags for use in calls to FFEffectGetEffectStatus.


FFProperty


See Also:
FFProperty
typedef UInt32 FFProperty;  
Discussion

Used for FFDeviceGetForceFeedbackProperty and FFDeviceSetForceFeedbackProperty.


FFState


See Also:
FFState
typedef UInt32 FFState;  
Discussion

Device state flags returned by FFDeviceGetForceFeedbackState.

Enumerations


FFCapabilitiesEffectSubType


See Also:
FFCapabilitiesEffectSubType
enum { 
    FFCAP_ST_KINESTHETIC = 1, 
    FFCAP_ST_VIBRATION = 2 
};  
Discussion

Flags used to specify the subtype of an effect.


FFCapabilitiesEffectType


See Also:
FFCapabilitiesEffectType
enum { 
    FFCAP_ET_CONSTANTFORCE = 0x00000001UL, 
    FFCAP_ET_RAMPFORCE = 0x00000002UL, 
    FFCAP_ET_SQUARE = 0x00000004UL, 
    FFCAP_ET_SINE = 0x00000008UL, 
    FFCAP_ET_TRIANGLE = 0x00000010UL, 
    FFCAP_ET_SAWTOOTHUP = 0x00000020UL, 
    FFCAP_ET_SAWTOOTHDOWN = 0x00000040UL, 
    FFCAP_ET_SPRING = 0x00000080UL, 
    FFCAP_ET_DAMPER = 0x00000100UL, 
    FFCAP_ET_INERTIA = 0x00000200UL, 
    FFCAP_ET_FRICTION = 0x00000400UL, 
    FFCAP_ET_CUSTOMFORCE = 0x00000800UL 
};  
Constants
FFCAP_ET_CONSTANTFORCE
The effect represents a constant force effect.
FFCAP_ET_RAMPFORCE
The effect represents a ramp force effect.
FFCAP_ET_SQUARE
The effect represents a square force effect.
FFCAP_ET_SINE
The effect represents a sine force effect.
FFCAP_ET_TRIANGLE
The effect represents a triangle force effect.
FFCAP_ET_SAWTOOTHUP
The effect represents a sawtooth up force effect.
FFCAP_ET_SAWTOOTHDOWN
The effect represents a sawtooth down force effect.
FFCAP_ET_SPRING
The effect represents a spring force effect.
FFCAP_ET_DAMPER
The effect represents a damper force effect.
FFCAP_ET_INERTIA
The effect represents a inertia force effect.
FFCAP_ET_FRICTION
The effect represents a friction force effect.
FFCAP_ET_CUSTOMFORCE
The effect represents a custom force effect. The Force Feedback plug-in developer is required to provide additional documentation to the application writer on how the effect should be used.
Discussion

Types used in the emulatedEffects or supportedEffects members of the FFCAPABILITIES structure. Used to describe whether the particular effect type is supported or emulated by the device.


FFCommandFlag


See Also:
FFCommandFlag
enum { 
    FFSFFC_RESET = 0x00000001UL, 
    FFSFFC_STOPALL = 0x00000002UL, 
    FFSFFC_PAUSE = 0x00000004UL, 
    FFSFFC_CONTINUE = 0x00000008UL, 
    FFSFFC_SETACTUATORSON = 0x00000010UL, 
    FFSFFC_SETACTUATORSOFF = 0x00000020UL 
};  
Discussion

Command flags for FFDeviceSendForceFeedbackCommand.


FFCooperativeLevelFlag


See Also:
FFCooperativeLevelFlag
enum { 
    FFSCL_EXCLUSIVE = 0x00000001UL, 
    FFSCL_NONEXCLUSIVE = 0x00000002UL, 
    FFSCL_FOREGROUND = 0x00000004UL, 
    FFSCL_BACKGROUND = 0x00000008UL 
};  
Discussion

flags for FFDeviceSetCooperativeLevel.


FFCoordinateSystemFlag


See Also:
FFCoordinateSystemFlag typedef
enum { 
    FFEFF_CARTESIAN = 0x00000010UL, 
    FFEFF_POLAR = 0x00000020UL, 
    FFEFF_SPHERICAL = 0x00000040UL 
};  
Constants
FFEFF_CARTESIAN
Cartesian coordinates
FFEFF_POLAR
Polar coordinates
FFEFF_SPHERICAL
Sperical coordinates
Discussion

Different coordinates used by the Force Feedback framework.


FFEffectParameterFlag


enum { 
    FFEP_DURATION = 0x00000001UL, 
    FFEP_SAMPLEPERIOD = 0x00000002UL, 
    FFEP_GAIN = 0x00000004UL, 
    FFEP_TRIGGERBUTTON = 0x00000008UL, 
    FFEP_TRIGGERREPEATINTERVAL = 0x00000010UL, 
    FFEP_AXES = 0x00000020UL, 
    FFEP_DIRECTION = 0x00000040UL, 
    FFEP_ENVELOPE = 0x00000080UL, 
    FFEP_TYPESPECIFICPARAMS = 0x00000100UL, 
    FFEP_STARTDELAY = 0x00000200UL, 
    FFEP_ALLPARAMS = 0x000003FFUL, 
    FFEP_START = 0x20000000UL, 
    FFEP_NORESTART = 0x40000000UL, 
    FFEP_NODOWNLOAD = 0x80000000UL, 
    FFEB_NOTRIGGER = 0xFFFFFFFFUL 
};  
Discussion

Effect Parameter flags for use in calls to FFEffectGetParameters and FFEffectSetParameters.


FFEffectStartFlag


See Also:
FFEffectStartFlag
enum { 
    FFES_SOLO = 0x00000001UL, 
    FFES_NODOWNLOAD = 0x80000000UL 
};  
Discussion

Effect Parameter flags for use in calls to FFEffectStart.


FFEffectStatusFlag


See Also:
FFEffectStatusFlag
enum { 
    FFEGES_NOTPLAYING = 0x00000000UL, 
    FFEGES_PLAYING = 0x00000001UL, 
    FFEGES_EMULATED = 0x00000002UL 
};  
Discussion

Effect Parameter flags for use in calls to FFEffectGetEffectStatus.


FFProperty


See Also:
FFProperty
enum { 
    FFPROP_FFGAIN = 1UL, 
    FFPROP_AUTOCENTER = 3UL 
};  
Discussion

Used for FFDeviceGetForceFeedbackProperty and FFDeviceSetForceFeedbackProperty.


FFState


See Also:
FFState
enum { 
    FFGFFS_EMPTY = 0x00000001UL, 
    FFGFFS_STOPPED = 0x00000002UL, 
    FFGFFS_PAUSED = 0x00000004UL, 
    FFGFFS_ACTUATORSON = 0x00000010UL, 
    FFGFFS_ACTUATORSOFF = 0x00000020UL, 
    FFGFFS_POWERON = 0x00000040UL, 
    FFGFFS_POWEROFF = 0x00000080UL, 
    FFGFFS_SAFETYSWITCHON = 0x00000100UL, 
    FFGFFS_SAFETYSWITCHOFF = 0x00000200UL, 
    FFGFFS_USERFFSWITCHON = 0x00000400UL, 
    FFGFFS_USERFFSWITCHOFF = 0x00000800UL, 
    FFGFFS_DEVICELOST = 0x80000000UL 
};  
Discussion

Device state flags returned by FFDeviceGetForceFeedbackState.

#defines


E_PENDING


#define E_PENDING 0x8000000AL 
Discussion

Data is not yet available.


FF_DEGREES


#define FF_DEGREES 100 


FF_DOWNLOADSKIPPED


#define FF_DOWNLOADSKIPPED  
Discussion

The parameters of the effect were successfully updated by FFEffectSetParameters, but the effect was not downloaded because the FFEP_NODOWNLOAD flag was passed.


FF_EFFECTRESTARTED


#define FF_EFFECTRESTARTED  
Discussion

The parameters of the effect were successfully updated by FFEffectSetParameters, but in order to change the parameters, the effect needed to be restarted.


FF_FALSE


#define FF_FALSE S_FALSE 
Discussion

The operation did not complete successfully.


FF_FFNOMINALMAX


#define FF_FFNOMINALMAX 10000 


FF_INFINITE


#define FF_INFINITE 0xFFFFFFFFUL 


FF_OK


#define FF_OK S_OK 
Discussion

The operation completed successfully.


FF_SECONDS


#define FF_SECONDS 1000000 


FF_TRUNCATED


#define FF_TRUNCATED  
Discussion

The parameters of the effect were successfully updated by FFEffectSetParameters, but some of them were beyond the capabilities of the device and were truncated.


FF_TRUNCATEDANDRESTARTED


#define FF_TRUNCATEDANDRESTARTED  
Discussion

Equal to FF_EFFECTRESTARTED | FF_TRUNCATED.


FFEFF_OBJECTOFFSETS


#define FFEFF_OBJECTOFFSETS 0x00000002UL 
Discussion

OBJECT IDS cannot be used to identify trigger buttons in FFEFFECT.dwTriggerButton, and output axes in FFEFFECT.rgdwAxes[n]. Please use object offsets (FFJOFS_* constants), the only supported method.


FFERR_DEVICEFULL


#define FFERR_DEVICEFULL 0x80040201L 
Discussion

The device is full.


FFERR_DEVICENOTREG


#define FFERR_DEVICENOTREG REGDB_E_CLASSNOTREG 
Discussion

The device or device instance or effect is not registered.


FFERR_DEVICEPAUSED


#define FFERR_DEVICEPAUSED 0x80040301L 
Discussion

When the device is paused via a call to FFDeviceSendForceFeedbackCommand, other operations such as modifying existing effect parameters and creating new effects are not allowed.


FFERR_DEVICERELEASED


#define FFERR_DEVICERELEASED 0x80040307L 
Discussion

The device has been released.


FFERR_EFFECTPLAYING


#define FFERR_EFFECTPLAYING 0x80040208L 
Discussion

An attempt was made to modify parameters of an effect while it is playing. Not all hardware devices support altering the parameters of an effect while it is playing.


FFERR_EFFECTTYPEMISMATCH


#define FFERR_EFFECTTYPEMISMATCH 0x80040303L 
Discussion

The IOForceFededbackLib driver has received an effect modification request whose basic type does not match the defined effect type for the given effect.


FFERR_EFFECTTYPENOTSUPPORTED


#define FFERR_EFFECTTYPENOTSUPPORTED 0x80040306L 
Discussion

The effect type requested is not explicitly supported by the particular device.


FFERR_GENERIC


#define FFERR_GENERIC E_FAIL 
Discussion

An undetermined error occurred.


FFERR_HASEFFECTS


#define FFERR_HASEFFECTS 0x80040204L 
Discussion

The device cannot be reinitialized because there are still effects attached to it.


FFERR_INCOMPLETEEFFECT


#define FFERR_INCOMPLETEEFFECT 0x80040206L 
Discussion

The effect could not be downloaded because essential information is missing. For example, no axes have been associated with the effect, or no type-specific information has been created.


FFERR_INTERNAL


#define FFERR_INTERNAL 0x80040302L 
Discussion

The IOForceFededbackLib driver has detected an internal fault. Often this occurs because of an unexpected internal code path.


FFERR_INVALIDDOWNLOADID


#define FFERR_INVALIDDOWNLOADID 0x80040300L 
Discussion

The effect index provided by the API in downloadID is not recognized by the IOForceFeedbackLib driver.


FFERR_INVALIDPARAM


#define FFERR_INVALIDPARAM E_INVALIDARG 
Discussion

An invalid parameter was passed to the returning function, or the object was not in a state that admitted the function to be called.


FFERR_MOREDATA


#define FFERR_MOREDATA 0x80040202L 
Discussion

Not all the requested information fit into the buffer.


FFERR_NOINTERFACE


#define FFERR_NOINTERFACE E_NOINTERFACE 
Discussion

The specified interface is not supported by the object.


FFERR_NOTDOWNLOADED


#define FFERR_NOTDOWNLOADED 0x80040203L 
Discussion

The effect is not downloaded.


FFERR_NOTINITIALIZED


#define FFERR_NOTINITIALIZED 0x80040305L 
Discussion

This object has not been initialized


FFERR_OUTOFMEMORY


#define FFERR_OUTOFMEMORY E_OUTOFMEMORY 
Discussion

Couldn't allocate sufficient memory to complete the caller's request.


FFERR_UNPLUGGED


#define FFERR_UNPLUGGED 0x80040209L 
Discussion

The operation could not be completed because the device is not plugged in.


FFERR_UNSUPPORTED


#define FFERR_UNSUPPORTED E_NOTIMPL 
Discussion

The function called is not supported at this time.


FFERR_UNSUPPORTEDAXIS


#define FFERR_UNSUPPORTEDAXIS 0x80040304L 
Discussion

The effect includes one or more axes that the device does not support.


FFJOFS_i


See Also:
FFJOFS_X
FFJOFS_Y
FFJOFS_Z
FFJOFS_RX
FFJOFS_RY
FFJOFS_RZ
FFJOFS_SLIDER
FFJOFS_POV
FFJOFS_BUTTON
FFJOFS_BUTTON0
FFJOFS_BUTTON1
FFJOFS_BUTTON2
FFJOFS_BUTTON3
FFJOFS_BUTTON4
FFJOFS_BUTTON5
FFJOFS_BUTTON6
FFJOFS_BUTTON7
FFJOFS_BUTTON8
FFJOFS_BUTTON9
FFJOFS_BUTTON10
FFJOFS_BUTTON11
FFJOFS_BUTTON12
FFJOFS_BUTTON13
FFJOFS_BUTTON14
FFJOFS_BUTTON15
FFJOFS_BUTTON16
FFJOFS_BUTTON17
FFJOFS_BUTTON18
FFJOFS_BUTTON19
FFJOFS_BUTTON20
FFJOFS_BUTTON21
FFJOFS_BUTTON22
FFJOFS_BUTTON23
FFJOFS_BUTTON24
FFJOFS_BUTTON25
FFJOFS_BUTTON26
FFJOFS_BUTTON27
FFJOFS_BUTTON28
FFJOFS_BUTTON29
FFJOFS_BUTTON30
FFJOFS_BUTTON31
#define FFJOFS_X 0
#define FFJOFS_Y 4
#define FFJOFS_Z 8
#define FFJOFS_RX 12
#define FFJOFS_RY 16
#define FFJOFS_RZ 20
#define FFJOFS_SLIDER( n) ( 24 + ( n) * sizeof( LONG))
#define FFJOFS_POV( n) ( 32 + ( n) * sizeof( DWORD))
#define FFJOFS_BUTTON( n) ( 48 + ( n))
#define FFJOFS_BUTTON0 ( 48 + ( 0))
#define FFJOFS_BUTTON1 ( 48 + ( 1))
#define FFJOFS_BUTTON2 ( 48 + ( 2))
#define FFJOFS_BUTTON3 ( 48 + ( 3))
#define FFJOFS_BUTTON4 ( 48 + ( 4))
#define FFJOFS_BUTTON5 ( 48 + ( 5))
#define FFJOFS_BUTTON6 ( 48 + ( 6))
#define FFJOFS_BUTTON7 ( 48 + ( 7))
#define FFJOFS_BUTTON8 ( 48 + ( 8))
#define FFJOFS_BUTTON9 ( 48 + ( 9))
#define FFJOFS_BUTTON10 ( 48 + ( 10))
#define FFJOFS_BUTTON11 ( 48 + ( 11))
#define FFJOFS_BUTTON12 ( 48 + ( 12))
#define FFJOFS_BUTTON13 ( 48 + ( 13))
#define FFJOFS_BUTTON14 ( 48 + ( 14))
#define FFJOFS_BUTTON15 ( 48 + ( 15))
#define FFJOFS_BUTTON16 ( 48 + ( 16))
#define FFJOFS_BUTTON17 ( 48 + ( 17))
#define FFJOFS_BUTTON18 ( 48 + ( 18))
#define FFJOFS_BUTTON19 ( 48 + ( 19))
#define FFJOFS_BUTTON20 ( 48 + ( 20))
#define FFJOFS_BUTTON21 ( 48 + ( 21))
#define FFJOFS_BUTTON22 ( 48 + ( 22))
#define FFJOFS_BUTTON23 ( 48 + ( 23))
#define FFJOFS_BUTTON24 ( 48 + ( 24))
#define FFJOFS_BUTTON25 ( 48 + ( 25))
#define FFJOFS_BUTTON26 ( 48 + ( 26))
#define FFJOFS_BUTTON27 ( 48 + ( 27))
#define FFJOFS_BUTTON28 ( 48 + ( 28))
#define FFJOFS_BUTTON29 ( 48 + ( 29))
#define FFJOFS_BUTTON30 ( 48 + ( 30))
#define FFJOFS_BUTTON31 ( 48 + ( 31))
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON


See Also:
FFJOFS_i
#define FFJOFS_BUTTON(n)  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON0


Value: 0x30 (48)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON0  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON1


Value: 0x31 (49)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON1  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON10


Value: 0x3a (58)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON10  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON11


Value: 0x3b (59)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON11  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON12


Value: 0x3c (60)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON12  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON13


Value: 0x3d (61)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON13  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON14


Value: 0x3e (62)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON14  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON15


Value: 0x3f (63)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON15  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON16


Value: 0x40 (64)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON16  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON17


Value: 0x41 (65)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON17  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON18


Value: 0x42 (66)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON18  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON19


Value: 0x43 (67)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON19  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON2


Value: 0x32 (50)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON2  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON20


Value: 0x44 (68)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON20  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON21


Value: 0x45 (69)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON21  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON22


Value: 0x46 (70)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON22  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON23


Value: 0x47 (71)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON23  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON24


Value: 0x48 (72)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON24  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON25


Value: 0x49 (73)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON25  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON26


Value: 0x4a (74)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON26  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON27


Value: 0x4b (75)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON27  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON28


Value: 0x4c (76)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON28  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON29


Value: 0x4d (77)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON29  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON3


Value: 0x33 (51)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON3  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON30


Value: 0x4e (78)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON30  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON31


Value: 0x4f (79)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON31  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON4


Value: 0x34 (52)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON4  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON5


Value: 0x35 (53)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON5  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON6


Value: 0x36 (54)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON6  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON7


Value: 0x37 (55)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON7  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON8


Value: 0x38 (56)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON8  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_BUTTON9


Value: 0x39 (57)

See Also:
FFJOFS_i
#define FFJOFS_BUTTON9  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_POV


See Also:
FFJOFS_i
#define FFJOFS_POV(n)  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_RX


See Also:
FFJOFS_i
#define FFJOFS_RX 12 
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_RY


See Also:
FFJOFS_i
#define FFJOFS_RY 16 
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_RZ


See Also:
FFJOFS_i
#define FFJOFS_RZ 20 
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_SLIDER


See Also:
FFJOFS_i
#define FFJOFS_SLIDER(n)  
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_X


See Also:
FFJOFS_i
#define FFJOFS_X 0 
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_Y


See Also:
FFJOFS_i
#define FFJOFS_Y 4 
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


FFJOFS_Z


See Also:
FFJOFS_i
#define FFJOFS_Z 8 
Discussion

Axis and Button field offsets, used in FFEFFECT.dwTriggerButton and FFEFFECT.rgdwAxes[n].


kFFEffectType_ConstantForce_ID


#define kFFEffectType_ConstantForce_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x60, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a constant force effect type


kFFEffectType_CustomForce_ID


#define kFFEffectType_CustomForce_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x6B, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a custom force effect type


kFFEffectType_Damper_ID


#define kFFEffectType_Damper_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x68, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a damper effect type


kFFEffectType_Friction_ID


#define kFFEffectType_Friction_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x6A, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a friction effect type


kFFEffectType_Inertia_ID


#define kFFEffectType_Inertia_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x69, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for an inertia effect type


kFFEffectType_RampForce_ID


#define kFFEffectType_RampForce_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x61, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a ramp force effect type


kFFEffectType_SawtoothDown_ID


#define kFFEffectType_SawtoothDown_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x66, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a downwards sawtooth wave effect type


kFFEffectType_SawtoothUp_ID


#define kFFEffectType_SawtoothUp_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x65, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a upwards sawtooth wave effect type


kFFEffectType_Sine_ID


#define kFFEffectType_Sine_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x63, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a sine wave effect type


kFFEffectType_Spring_ID


#define kFFEffectType_Spring_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x67, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a spring effect type


kFFEffectType_Square_ID


#define kFFEffectType_Square_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x62, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a square wave effect type


kFFEffectType_Triangle_ID


#define kFFEffectType_Triangle_ID CFUUIDGetConstantUUIDWithBytes(NULL, \ 
    0xE5, 0x59, 0xC4, 0x64, 0xC5, 0xCD, 0x11, 0xD6, \ 
    0x8A, 0x1C, 0x00, 0x03, 0x93, 0x53, 0xBD, 0x00) 
Discussion

UUID for a sine wave effect type


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2008-03-11