|
@@ -271,7 +271,6 @@ static int sermouse_connect(struct serio *serio, struct serio_driver *drv)
|
|
|
input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REL);
|
|
|
input_dev->keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_RIGHT);
|
|
|
input_dev->relbit[0] = BIT(REL_X) | BIT(REL_Y);
|
|
|
- input_dev->private = sermouse;
|
|
|
|
|
|
if (c & 0x01) set_bit(BTN_MIDDLE, input_dev->keybit);
|
|
|
if (c & 0x02) set_bit(BTN_SIDE, input_dev->keybit);
|