[PATCH] ukbd(4) - request for comments

From: Maksim Yevmenkin <maksim.yevmenkin_at_savvis.net>
Date: Mon, 27 Feb 2006 09:53:35 -0800
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
_at__at_ -1145,9 +1145,7 _at__at_
         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
Received on Mon Feb 27 2006 - 16:53:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC