]> err.no Git - linux-2.6/commitdiff
Input: logips2pp - add model 1 information
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 12 Apr 2007 05:33:19 +0000 (01:33 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 12 Apr 2007 05:33:19 +0000 (01:33 -0400)
It turns out I had an old 2-button Logitech mouse that responds
to Logitech's queries with model of 1.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/logips2pp.c

index 74a8ba7c71f852468122ea2ef2d6ca347ff26583..9df74b72e6c4669c5d5ecd2863ae4f02aeff8437 100644 (file)
@@ -200,6 +200,7 @@ static void ps2pp_disconnect(struct psmouse *psmouse)
 static const struct ps2pp_info *get_model_info(unsigned char model)
 {
        static const struct ps2pp_info ps2pp_list[] = {
+               {  1,   0,                      0 },    /* Simple 2-button mouse */
                { 12,   0,                      PS2PP_SIDE_BTN},
                { 13,   0,                      0 },
                { 15,   PS2PP_KIND_MX,                                  /* MX1000 */