---
name: "input_ff_erase"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/input_ff_erase"
---

# input\_ff\_erase(9)

erase a force-feedback effect from device

## NAME

input\_ff\_erase - erase a force-feedback effect from device

## SYNOPSIS

**int input\_ff\_erase(struct input\_dev \*** *dev***, int** *effect\_id***, struct file \*** *file***);**

## ARGUMENTS

*dev*

input device to erase effect from

*effect\_id*

id of the ffect to be erased

*file*

purported owner of the request

## DESCRIPTION

This function erases a force-feedback effect from specified device. The effect will only be erased if it was uploaded through the same file handle that is requesting erase.

## COPYRIGHT
