[PATCH 1/2] kdrive: Bump evdev maxKeycode
Peter Hutterer
peter.hutterer at who-t.net
Mon Mar 15 17:43:41 PDT 2010
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 <dottedmag at dottedmag.net>
> ---
> 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 <peter.hutterer at who-t.net>
Cheers,
Peter
More information about the xorg-devel
mailing list