linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jamie Lentin <jm@lentin.co.uk>
To: Jiri Kosina <jkosina@suse.cz>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jamie Lentin <jm@lentin.co.uk>
Subject: [PATCH 0/3] HID: lenovo: Improve wheel emulation
Date: Tue, 11 Aug 2015 22:40:49 +0100	[thread overview]
Message-ID: <1439329252-16809-1-git-send-email-jm@lentin.co.uk> (raw)

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

             reply	other threads:[~2015-08-11 21:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-11 21:40 Jamie Lentin [this message]
2015-08-11 21:40 ` [PATCH 1/3] HID: lenovo: Use constants for axes names Jamie Lentin
2015-08-11 21:40 ` [PATCH 2/3] HID: lenovo: Add missing return-value check Jamie Lentin
2015-08-11 21:40 ` [PATCH 3/3] HID: lenovo: Hide middle-button press until release Jamie Lentin
2015-08-12 12:36 ` [PATCH 0/3] HID: lenovo: Improve wheel emulation Jiri Kosina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439329252-16809-1-git-send-email-jm@lentin.co.uk \
    --to=jm@lentin.co.uk \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).