Re: [PATCH resend] Input: silead - Add support for capactive home button found on some x86 tablets
From: Hans de Goede <hidden>
Date: 2017-10-14 08:34:27
From: Hans de Goede <hidden>
Date: 2017-10-14 08:34:27
Hi, On 14-10-17 01:48, Dmitry Torokhov wrote:
On Wed, Oct 11, 2017 at 11:46:06AM +0200, Hans de Goede wrote:quoted
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.Do we know which ones?
Not really, but since we need to pass resolution info, etc. through device-properties (set in drivers/platform/x86/silead_dmi.c) we could add a device-property for this, this should also work for devicetree based models (although I've only seen the capacitive home button as the Windows logo on X86 hardware so far).
Can we only set it in capabilities for devices that actually have it?
If we add a device property for it, yes. I guess that is how you want me to handle this, so you will want a v2 which keys the enabling of the home button from a device-prop ? Regards, Hans