On Tue, Mar 16, 2010 at 04:48:30AM +0600, Mikhail Gusarov wrote: > There are keycodes > 193 in evdev, e.g. KEY_WIMAX which is 246 . > > Signed-off-by: Mikhail Gusarov <[email protected]> > --- > hw/kdrive/linux/evdev.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/kdrive/linux/evdev.c b/hw/kdrive/linux/evdev.c > index 485a2b5..946d5c1 100644 > --- a/hw/kdrive/linux/evdev.c > +++ b/hw/kdrive/linux/evdev.c > @@ -362,7 +362,7 @@ readMapping (KdKeyboardInfo *ki) > return; > > ki->minScanCode = 0; > - ki->maxScanCode = 193; > + ki->maxScanCode = 0xff;
the other kdrive servers use 255 instead of 0xff, it'd be nice to use the same for consistency. With that change Reviewed-by: Peter Hutterer <[email protected]> Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
