1INPUT_FF_CREATE(9) Input Subsystem INPUT_FF_CREATE(9)
2
3
4
6 input_ff_create - create force-feedback device
7
9 int input_ff_create(struct input_dev * dev, int max_effects);
10
12 dev
13 input device supporting force-feedback
14
15 max_effects
16 maximum number of effects supported by the device
17
19 This function allocates all necessary memory for a force feedback
20 portion of an input device and installs all default handlers.
21 dev->ffbit should be already set up before calling this function. Once
22 ff device is created you need to setup its upload, erase, playback and
23 other handlers before registering input device
24
26Kernel Hackers Manual 2.6. November 2011 INPUT_FF_CREATE(9)