Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932566AbbHKWT4 (ORCPT ); Tue, 11 Aug 2015 18:19:56 -0400 Received: from marmot.wormnet.eu ([188.246.204.87]:60527 "EHLO marmot.wormnet.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932120AbbHKWTx (ORCPT ); Tue, 11 Aug 2015 18:19:53 -0400 From: Jamie Lentin To: Jiri Kosina Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Jamie Lentin Subject: [PATCH 0/3] HID: lenovo: Improve wheel emulation Date: Tue, 11 Aug 2015 22:40:49 +0100 Message-Id: <1439329252-16809-1-git-send-email-jm@lentin.co.uk> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1096 Lines: 30 A collection of unrelated patches to improve support for the Thinkpad compact keyboards. The first 2 are just cleanup patches. The final patch alters the behaviour of the middle button so userspace either gets wheel events or a button click, not both. This stops browsers opening a link in a new tab as well as scrolling, for example. This means you can no longer long-middle-click, but I don't think this is likely to upset users as much as the current behaviour. Tested against 4.1.2 with both Bluetooth and USB compact keyboards. Cheers, Jamie Lentin (3): HID: lenovo: Use constants for axes names HID: lenovo: Add missing return-value check HID: lenovo: Hide middle-button press until release drivers/hid/hid-lenovo.c | 59 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 3 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/