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

Commit fa047e4f authored by Jiri Kosina's avatar Jiri Kosina
Browse files

HID: fix inverted wheel for bluetooth version of apple mighty mouse



Bluetooth version of Apple Mighty mouse (0x05ac/0x030c) doesn't, according to
multiple reports on linux-input@, need the same quirk as the USB version of
this mouse (0x05ac/0x0304) does.

Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 70fa9f2e
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -436,10 +436,6 @@ static const struct hid_device_id apple_devices[] = {
	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY),
	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY),
		.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN },
		.driver_data = APPLE_NUMLOCK_EMULATION | APPLE_HAS_FN },


	/* Apple wireless Mighty Mouse */
	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, 0x030c),
		.driver_data = APPLE_MIGHTYMOUSE | APPLE_INVERT_HWHEEL },

	{ }
	{ }
};
};
MODULE_DEVICE_TABLE(hid, apple_devices);
MODULE_DEVICE_TABLE(hid, apple_devices);