summaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@gmail.com>2006-07-19 01:40:30 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-07-19 01:40:30 -0400
commit7d928a2b14eede1f333db7b7b684c57f7fa7f456 (patch)
treeb674c2668e42bae63188f80b4f519fa6c9aef55b /include/linux/input.h
parent509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b (diff)
downloadblackbird-op-linux-7d928a2b14eede1f333db7b7b684c57f7fa7f456.tar.gz
blackbird-op-linux-7d928a2b14eede1f333db7b7b684c57f7fa7f456.zip
Input: unified force feedback support for memoryless devices
Consolidate core implementing memoryless devices in one module; added support for gain and envelopes and periodic => rumble conversion. Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 81c6ea5afedb..d8b0c5610c04 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -1169,5 +1169,8 @@ int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code,
int input_ff_upload(struct input_dev *dev, struct ff_effect *effect, struct file *file);
int input_ff_erase(struct input_dev *dev, int effect_id, struct file *file);
+int input_ff_create_memless(struct input_dev *dev, void *data,
+ int (*play_effect)(struct input_dev *, void *, struct ff_effect *));
+
#endif
#endif
OpenPOWER on IntegriCloud