Re: [PATCH] amiga input api drivers

From: Roman Zippel (zippel@linux-m68k.org)
Date: Thu Jan 31 2002 - 19:09:40 EST


Hi,

James Simmons wrote:

> > > + scancode = scancode >> 1; /* lowest bit is release bit */
> > > + down = scancode & 1;
> >
> > Shouldn't that be the other way 'round?
>
> I don't know. Anyone?

He's correct, the up/down event is received in the lsb bit, the other 7
bits are the keycode.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:01:40 EST