kaiw        2008-08-18 16:48:53 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          hid.c 
  Log:
  SVN rev 181841 on 2008-08-18 16:48:53Z by kaiw
  
  In the hid parser, if a INPUT/OUTPUT/FEATURE item is skipped, its
  corresponding USAGE should be skipped as well.
  
  For example, below is a report desc fragment of some mouse:
  
  COLLECTION
  ...
  USAGE TWHEEL
  FEATURE ...
  ...
  USAGE WHEEL
  INPUT ...
  ...
  END COLLECTION
  
  "USAGE TWHEEL" should be consumed after the FEATURE item is skipped,
  otherwise, the INPUT item will be assigned to "USAGE TWHEEL" later,
  other than "USAGE WHEEL".
  
  Tested by:        Grzegorz Blach
  PR:               usb/125941
  
  Revision  Changes    Path
  1.30      +12 -3     src/sys/dev/usb/hid.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to