aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index a637e7814334..3862e32c4eeb 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -505,6 +505,7 @@ struct input_keymap_entry {
505#define BTN_TOOL_FINGER 0x145 505#define BTN_TOOL_FINGER 0x145
506#define BTN_TOOL_MOUSE 0x146 506#define BTN_TOOL_MOUSE 0x146
507#define BTN_TOOL_LENS 0x147 507#define BTN_TOOL_LENS 0x147
508#define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */
508#define BTN_TOUCH 0x14a 509#define BTN_TOUCH 0x14a
509#define BTN_STYLUS 0x14b 510#define BTN_STYLUS 0x14b
510#define BTN_STYLUS2 0x14c 511#define BTN_STYLUS2 0x14c
@@ -814,6 +815,7 @@ struct input_keymap_entry {
814#define SW_KEYPAD_SLIDE 0x0a /* set = keypad slide out */ 815#define SW_KEYPAD_SLIDE 0x0a /* set = keypad slide out */
815#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */ 816#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */
816#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */ 817#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */
818#define SW_LINEIN_INSERT 0x0d /* set = inserted */
817#define SW_MAX 0x0f 819#define SW_MAX 0x0f
818#define SW_CNT (SW_MAX+1) 820#define SW_CNT (SW_MAX+1)
819 821
@@ -1609,7 +1611,7 @@ struct ff_device {
1609 struct file *effect_owners[]; 1611 struct file *effect_owners[];
1610}; 1612};
1611 1613
1612int input_ff_create(struct input_dev *dev, int max_effects); 1614int input_ff_create(struct input_dev *dev, unsigned int max_effects);
1613void input_ff_destroy(struct input_dev *dev); 1615void input_ff_destroy(struct input_dev *dev);
1614 1616
1615int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value); 1617int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int value);