On 02/23/2015 06:51 PM, Dmitry Torokhov wrote:
On Sun, Feb 22, 2015 at 05:55:05PM +0100, Pali Rohár wrote: I am not sure what exactly the issue is... We do need to have the break code to know when the key is released. We can't go and say that we will release old key when we detect another key press as that would mess up key combination handling (like control, meta, etc). What does Windows driver do? Thanks.
To me it sounds like the Windows driver understands a situation that there are a bunch of key down events without a keyup event until you lift your finger rather than expecting a pair every time. https://msdn.microsoft.com/en-us/library/windows/desktop/ms646267(v=vs.85).aspx -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html