Re: [PATCH v2 1/2] Input: silead - Add support for capactive home button found on some x86 tablets
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2017-10-17 20:13:52
Also in:
platform-driver-x86
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2017-10-17 20:13:52
Also in:
platform-driver-x86
Hi Hans, On Tue, Oct 17, 2017 at 8:45 AM, Hans de Goede [off-list ref] wrote:
On some x86 tablets with a silead touchscreen the windows logo on the front is a capacitive home button. Touching this button results in a touch with bits 12-15 of the Y coordinates set, while normally only the lower 12 are used. Detect this and report a KEY_LEFTMETA press when this happens. Note for now we only respond to the Y coordinate bits 12-15 containing 0x01, on some tablets *without* a capacative button I've noticed these bits containing 0x04 when crossing the edges of the screen. Signed-off-by: Hans de Goede <redacted> --- Changes in v2: -Only enable support for the home-button if a "silead,home-button" boolean device-property is set on the device
You need to add this new property to Documentation/devicetree/bindings/input/touchscreen/silead_gsl1680.txt and CC Rob. Thanks! -- Dmitry