]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/hid/hid-ids.h
HID: sony: Add touchpad support for NSG-MR5U and NSG-MR7U remotes
authorTodd Kelner <tsopdump@gmail.com>
Sat, 17 Feb 2018 23:47:10 +0000 (16:47 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 6 Mar 2018 14:22:06 +0000 (15:22 +0100)
commitb7289cb1cf99d432c894b9da7a54e24f73ae4c93
tree1205f90a5e45e7673e3bd22c285a9dbb52182c64
parent183b6366cf473ff0e706a6751adc082faa44843d
HID: sony: Add touchpad support for NSG-MR5U and NSG-MR7U remotes

Sony's NSG-MR5U and NSG-MR7U remote controls have a full keyboard and a
touchpad.  The keyboard is already supported by the existing Linux
kernel and drivers but the touchpad is not recognized.  This patch adds
the coded needed to bring full functionality to the touchpad.

Note that these remotes use the vendor code for SMK even though they are
Sony branded.

Known limitations
- The built-in accelerometers are not supported by these changes
- When the Drag (Fn) key is used as a mouse button, the button is
automatically released when the key begins repeating.  There are two
  workarounds for this 1) Use the button behind the touchpad instead of
  the Drag (Fn) key or 2) Disable the key repeat functionality or
  increase the key repeat delay.

Signed-off-by: Todd Kelner <tsopdump@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/hid-quirks.c
drivers/hid/hid-sony.c