Re: [patch] mousedev.c

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Thu Sep 21 2000 - 17:12:34 EST


On Fri, Sep 22, 2000 at 12:03:20AM +0900, Yoichi Imai wrote:

> I think it's a bug.

I think it's a feature.

> --- linux-2.4.0-test8/drivers/input/mousedev.c Wed Aug 23 01:06:31 2000
> +++ linux/drivers/input/mousedev.c Thu Sep 21 22:20:22 2000
> @@ -121,12 +121,12 @@
> case BTN_TOUCH:
> case BTN_LEFT: index = 0; break;
> case BTN_4:
> - case BTN_EXTRA: if (list->mode > 1) { index = 4; break; }
> + case BTN_EXTRA: if (list->mode > 1) index = 4; break;
> case BTN_STYLUS:
> case BTN_1:
> case BTN_RIGHT: index = 1; break;
> case BTN_3:
> - case BTN_SIDE: if (list->mode > 1) { index = 3; break; }
> + case BTN_SIDE: if (list->mode > 1) index = 3; break;
> case BTN_2:
> case BTN_STYLUS2:
> case BTN_MIDDLE: index = 2; break;

-- 
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:25 EST