Re: [PATCH] extcon: arizona: Implement button detection support
From: Mark Brown
Date: Thu Jul 26 2012 - 04:11:09 EST
On Thu, Jul 26, 2012 at 09:10:08AM +0900, Chanwoo Choi wrote:
> If user press BTN_0 and BTN_1 at the same time and then user only
> released BTN_0 but BTN_1 is still pressed, is it right that report
> released event to all of buttons? I think that different event between
> BTN_0 and BTN_1.
That situation can't occur, the hardware can only detect one button at
once - if two buttons are pressed simultaneusly only one will be
reported. This is just a standard resistive headset button detection
mechanism.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/