On Mon, Aug 01, 2011 at 05:55:25PM +0200, Aurélien Aptel wrote:
> On Mon, Aug 1, 2011 at 1:34 PM, anonymous <p37sitdu_AT_lavabit.com> wrote:
> > I think my patch is better. There is no special case for 0 mask and state
> > and when we match for Ctrl and Shift it works only when they both are
> > pressed. With your patch it will work for Ctrl only or for Shift only.
>
> When a key in config.h has mask = 0 it's matched with <any modifier>,
> not <no modifier>.
With my patch it is matched with any modifier too, because (key & 0) == 0.
Received on Mon Aug 01 2011 - 18:14:17 CEST
This archive was generated by hypermail 2.2.0 : Mon Aug 01 2011 - 18:24:04 CEST