diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-10-17 21:20:19 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-10-17 21:20:19 -0700 |
commit | 3136baf8d09458bb04332b81494fd13ad90fe94a (patch) | |
tree | 6593ef5894597bf6224cf0374e4d49b1499d347d /drivers/input/mouse | |
parent | 1d02ad436235080b8a95a2c86a66cb7b8f2e9df9 (diff) | |
parent | ca047fedd89bbb4b79b61e0656a7b799e4e45e6d (diff) | |
download | kernel_samsung_espresso10-3136baf8d09458bb04332b81494fd13ad90fe94a.zip kernel_samsung_espresso10-3136baf8d09458bb04332b81494fd13ad90fe94a.tar.gz kernel_samsung_espresso10-3136baf8d09458bb04332b81494fd13ad90fe94a.tar.bz2 |
Merge branch 'for-linus' into next
Diffstat (limited to 'drivers/input/mouse')
-rw-r--r-- | drivers/input/mouse/bcm5974.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c index ea67c49..b952317 100644 --- a/drivers/input/mouse/bcm5974.c +++ b/drivers/input/mouse/bcm5974.c @@ -337,10 +337,14 @@ static void report_finger_data(struct input_dev *input, const struct bcm5974_config *cfg, const struct tp_finger *f) { - input_report_abs(input, ABS_MT_TOUCH_MAJOR, raw2int(f->force_major)); - input_report_abs(input, ABS_MT_TOUCH_MINOR, raw2int(f->force_minor)); - input_report_abs(input, ABS_MT_WIDTH_MAJOR, raw2int(f->size_major)); - input_report_abs(input, ABS_MT_WIDTH_MINOR, raw2int(f->size_minor)); + input_report_abs(input, ABS_MT_TOUCH_MAJOR, + raw2int(f->force_major) << 1); + input_report_abs(input, ABS_MT_TOUCH_MINOR, + raw2int(f->force_minor) << 1); + input_report_abs(input, ABS_MT_WIDTH_MAJOR, + raw2int(f->size_major) << 1); + input_report_abs(input, ABS_MT_WIDTH_MINOR, + raw2int(f->size_minor) << 1); input_report_abs(input, ABS_MT_ORIENTATION, MAX_FINGER_ORIENTATION - raw2int(f->orientation)); input_report_abs(input, ABS_MT_POSITION_X, raw2int(f->abs_x)); |