summaryrefslogtreecommitdiff
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@gmail.com>2006-07-19 01:44:08 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-07-19 01:44:08 -0400
commit1f734cb461e1f029d751deb15c8d9f8137fb2ca7 (patch)
tree194338dc1c362e4917ba28f7b93c2d3d4561f764 /include/linux/input.h
parentff462551235d8d7d843a005950bc90924fcedede (diff)
Input: drop remnants of the old force-feedback interface
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.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index d8b0c5610c04..4405d0283549 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -870,7 +870,6 @@ struct input_dev {
unsigned long sndbit[NBITS(SND_MAX)];
unsigned long ffbit[NBITS(FF_MAX)];
unsigned long swbit[NBITS(SW_MAX)];
- int ff_effects_max;
unsigned int keycodemax;
unsigned int keycodesize;
@@ -903,8 +902,6 @@ struct input_dev {
void (*close)(struct input_dev *dev);
int (*flush)(struct input_dev *dev, struct file *file);
int (*event)(struct input_dev *dev, unsigned int type, unsigned int code, int value);
- int (*upload_effect)(struct input_dev *dev, struct ff_effect *effect);
- int (*erase_effect)(struct input_dev *dev, int effect_id);
struct input_handle *grab;
@@ -1078,11 +1075,6 @@ static inline void input_report_abs(struct input_dev *dev, unsigned int code, in
input_event(dev, EV_ABS, code, value);
}
-static inline void input_report_ff(struct input_dev *dev, unsigned int code, int value)
-{
- input_event(dev, EV_FF, code, value);
-}
-
static inline void input_report_ff_status(struct input_dev *dev, unsigned int code, int value)
{
input_event(dev, EV_FF_STATUS, code, value);