input_ff_erase(9)
π NAME π
Okay bestie, welcome to the Kernel API Manual entry for input_ff_erase β it literally erases a force-feedback effect from a device. Periodt. π
β¨ SYNOPSIS β¨
int input_ff_erase (struct input_dev *dev , int effect_id , struct file
*file );
π ARGUMENTS π
devβ the input device you're erasing the effect from, bestie.effect_idβ the id of the effect that's getting erased.fileβ the purported owner of the request π
π DESCRIPTION π
This function erases a force-feedback effect from the specified device. The effect will only be erased if it was uploaded through the same file handle that is requesting the erase. No cap β that ownership check is the whole vibe. π«Ά
π¦ SEE ALSO π¦
Kernel file ./drivers/input/ff-core.c β plus these iconic friends: input_ff_upload(9), input_ff_event(9), input_ff_create(9), input_ff_destroy(9). Iykyk. π
mwah π β this cutie comes from ./drivers/input, dated October 2026, and it's literally the input_ff_erase(9) page. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms