diff options
| -rw-r--r-- | drivers/hid/hid-magicmouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c index 5e1907a51446..e6dc15171664 100644 --- a/drivers/hid/hid-magicmouse.c +++ b/drivers/hid/hid-magicmouse.c | |||
| @@ -254,8 +254,8 @@ static void magicmouse_emit_touch(struct magicmouse_sc *msc, int raw_id, u8 *tda | |||
| 254 | /* Generate the input events for this touch. */ | 254 | /* Generate the input events for this touch. */ |
| 255 | if (report_touches && down) { | 255 | if (report_touches && down) { |
| 256 | input_report_abs(input, ABS_MT_TRACKING_ID, id); | 256 | input_report_abs(input, ABS_MT_TRACKING_ID, id); |
| 257 | input_report_abs(input, ABS_MT_TOUCH_MAJOR, touch_major); | 257 | input_report_abs(input, ABS_MT_TOUCH_MAJOR, touch_major << 2); |
| 258 | input_report_abs(input, ABS_MT_TOUCH_MINOR, touch_minor); | 258 | input_report_abs(input, ABS_MT_TOUCH_MINOR, touch_minor << 2); |
| 259 | input_report_abs(input, ABS_MT_ORIENTATION, orientation); | 259 | input_report_abs(input, ABS_MT_ORIENTATION, orientation); |
| 260 | input_report_abs(input, ABS_MT_POSITION_X, x); | 260 | input_report_abs(input, ABS_MT_POSITION_X, x); |
| 261 | input_report_abs(input, ABS_MT_POSITION_Y, y); | 261 | input_report_abs(input, ABS_MT_POSITION_Y, y); |
