Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 09:53:35 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@savvis.net>
To:        freebsd-current@freebsd.org
Subject:   [PATCH] ukbd(4) - request for comments
Message-ID:  <44033C9F.2010803@savvis.net>

next in thread | raw e-mail | index | archive | help
dear Hackers,

any objections/comments/etc. to the following ukbd(4) patch?

Index: sys/dev/usb/ukbd.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/ukbd.c,v
retrieving revision 1.52
diff -u -r1.52 ukbd.c
--- sys/dev/usb/ukbd.c  30 Mar 2005 08:32:41 -0000      1.52
+++ sys/dev/usb/ukbd.c  27 Feb 2006 17:50:42 -0000
@@ -1145,9 +1145,7 @@
         state = (ukbd_state_t *)kbd->kb_data;
         if (!(state->ks_flags & COMPOSE) && (state->ks_composed_char > 0))
                 return TRUE;
-       if (state->ks_inputs > 0)
-               return TRUE;
-       return FALSE;
+       return ukbd_check(kbd);
  }

  /* some useful control functions */

===

this patch makes ukbd(4) to not delay break scancodes in "raw" mode. i'd 
like to get this in for upcoming kbdmux(4) integration.

thanks,
max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44033C9F.2010803>