<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ForceFeedback",
  "identifier" : "/documentation/ForceFeedback/FFCONSTANTFORCE",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Force Feedback"
    ],
    "preciseIdentifier" : "c:@S@FFCONSTANTFORCE"
  },
  "title" : "FFCONSTANTFORCE"
}
-->

# FFCONSTANTFORCE

Contains type-specific information for the CONSTANTFORCE effect.

```
struct FFCONSTANTFORCE
```

## Overview

A pointer to a single FFCONSTANTFORCE structure for an effect is passed in the **lpvTypeSpecificParams** member of the FFEFFECT structure.

## Topics

### Initializers

[`init()`](/documentation/ForceFeedback/FFCONSTANTFORCE/init())

[`init(lMagnitude: LONG)`](/documentation/ForceFeedback/FFCONSTANTFORCE/init(lMagnitude:))

### Instance Properties

[`var lMagnitude: LONG`](/documentation/ForceFeedback/FFCONSTANTFORCE/lMagnitude)

The magnitude of the effect, in the range from -10,000 through 10,000. If an envelope is applied to this effect, the value represents the magnitude of the sustain. If no envelope is applied, the value represents the amplitude of the entire effect.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)