STRUCT FF_CONSTANT_EFFECT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ff_constant_effect(9) β€” like, the whole glow-up ✨

okay bestie, welcome to the Kernel API Manual page for struct ff_constant_effect πŸŽ€ this is the little struct that defines parameters of a constant force-feedback effect β€” yes, the "just hold it steady, babe" of the force-feedback world. no cap, she's simple and she serves. πŸ¦‹


🌸 NAME 🌸

struct ff_constant_effect β€” literally the struct that defines parameters of a constant force-feedback effect. that's the whole vibe. periodt. πŸ’…


✨ SYNOPSIS ✨

struct ff_constant_effect {
    __s16 level;
    struct ff_envelope envelope;
};

look at her. two members. zero drama. main character energy fr fr πŸ”₯


🫢 Members 🫢

  • level β€” the strength of the effect; and yes, it may be negative 😭 she can push either way, icon behaviour. __s16, so signed, so spicy both directions. πŸ’œ
  • envelope β€” the envelope data, bestie πŸŽ€ it's a struct ff_envelope, and it's doing the whole "how does this effect shape itself over time" thing. iykyk. 🌸

πŸ‘‘ SEE ALSO πŸ‘‘

like, go read these next, you'll be obsessed ⭐

Kernel file ./include/uapi/linux/input.h, plus:

  • struct input_absinfo(9)
  • struct input_keymap_entry(9)
  • EVIOCGMTSLOTS(9)
  • EVIOCGMASK(9)
  • EVIOCSMASK(9)
  • struct ff_replay(9)
  • struct ff_trigger(9)
  • struct ff_envelope(9)
  • struct ff_ramp_effect(9)
  • struct ff_condition_effect(9)
  • struct ff_periodic_effect(9)
  • struct ff_rumble_effect(9)
  • struct ff_haptic_effect(9)
  • struct ff_effect(9)

no warnings here bestie, this one's a clean little struct β€” just remember level is actually signed, so negative values are valid, not a glitch πŸ™ˆ

and that's the page!! 🧚 from ./include/uapi/linux, dated October 2026, mwah πŸ’– bye bestie, go make some haptics slay πŸ’…βœ¨

πŸ“¦ where this page comes from