Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 893d1cdd authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: acecad - don't advertise mouse events



The device does not emit events for left/right/middle mouse buttons
so it should not mark them as supported in capabilities bitmaps.

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent b426571c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -193,8 +193,6 @@ static int usb_acecad_probe(struct usb_interface *intf, const struct usb_device_
	input_dev->close = usb_acecad_close;

	input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
	input_dev->keybit[BIT_WORD(BTN_LEFT)] =
		BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE);
	input_dev->keybit[BIT_WORD(BTN_DIGI)] = BIT_MASK(BTN_TOOL_PEN) |
		BIT_MASK(BTN_TOUCH) | BIT_MASK(BTN_STYLUS) |
		BIT_MASK(BTN_STYLUS2);